Function at 0x4cd4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x8810
call fcn.005865a0
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x880c], eax
mov ecx, dword [str.public]
push ebp
mov ebp, dword [esp + 0x8818]
mov eax, dword [ebp + 0x6e4]
push edi
xor edi, edi
sub ecx, 0xffffff80
push ecx
mov dword [esp + 0xa0], edi
mov byte [esp + 0xe], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], edi
call fcn.00485c00
add esp, 4
cmp eax, 2
jge 0x4cd537
mov edx, dword [str.public]
push str.tables
push str.create
push edx
push 0x7dd
push 0x1f69
call fcn.00406f10
add esp, 0x14
pop edi
mov eax, 0x1f69
pop ebp
mov ecx, dword [esp + 0x880c]
xor ecx, esp
call fcn.00586584
add esp, 0x8810
ret
lea eax, [ebp + 0x17c1a]
push 5
push str.__sys
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCR90.dll__strnicmp]
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 9], al
test al, al
je 0x4cd56d
mov dword [ebp + 0x17a93], edi
push ebx
push esi
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x34]
push ecx
push 2
push edi
call fcn.00444330
mov esi, eax
add esp, 0x10
cmp esi, edi
jne 0x4cde1a
cmp dword [esp + 0x94], edi
je 0x4cd5c2
mov edx, dword [esp + 0x24]
push edx
push 0x7dd
push 0x1f74
call fcn.00406f10
push 0
call fcn.004432b0
add esp, 0x10
mov eax, 0x1f74
jmp 0x4cde86
push 0
call fcn.004432b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4cde1a
push ebp
mov byte [ebp + 0x11], 1
call fcn.004ca870
mov esi, eax
add esp, 4
test esi, esi
jne 0x4cde1a
mov eax, ebp
call fcn.004c6790
test eax, eax
jne 0x4cde86
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.MSVCR90.dll_malloc]
lea eax, [edi + edi]
push eax
call ebx
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4cde69
cmp byte [ebp + 0x17fb1], 0
je 0x4cd63b
imul edi, edi, 0x2c
push edi
call ebx
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4cde69
mov dword [esp + 0x64], 0
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x30]
push edx
push ebp
xor edx, edx
mov ecx, esi
call fcn.004c6450
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cde1a
cmp byte [ebp + 0x182e7], al
mov cl, byte [ebp + 0x17fb1]
mov dl, byte [ebp + 0x182e8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x6c], al
sete al
add al, 2
cmp byte [ebp + 0x182ff], 0
mov byte [esp + 0x6e], cl
movsx ecx, byte [ebp + 0x18394]
mov byte [esp + 0x6d], al
lea edi, [ebp + 0x18394]
sete al
neg ecx
push 3
sbb ecx, ecx
and ecx, edi
mov byte [esp + 0x75], al
mov byte [esp + 0x76], dl
mov edx, dword [ebp + 0x184e7]
mov dword [esp + 0x78], ecx
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0x80], edx
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0xf4]
push ecx
mov ecx, dword [ebp + 0x27]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0xbd], 1
mov byte [esp + 0x9f], 1
call fcn.00471e90
mov esi, eax
add esp, 0x30
test esi, esi
jne 0x4cde1a
cmp dword [ebp + 0x1a], 0x78
jne 0x4cd810
mov edx, 1
mov eax, edx
mov ecx, eax
mov word [esp + 0xd2], ax
mov word [esp + 0xcc], cx
mov word [esp + 0xc0], ax
mov word [esp + 0xd8], dx
mov word [esp + 0xc6], dx
lea eax, [ebp + 0x18302]
lea ecx, [ebp + 0x18306]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], ecx
lea edx, [ebp + 0x1830a]
lea ecx, [esp + 0x6f4]
push ecx
mov dword [esp + 0xb8], edx
lea eax, [ebp + 0x1830e]
lea edx, [esp + 0xc4]
mov dword [esp + 0xbc], eax
push edx
lea eax, [esp + 0xb0]
push eax
push 5
call fcn.005789e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4cde1a
lea ecx, [esp + 0x84]
push ecx
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x6fc]
push edx
push eax
call fcn.00449650
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4cde1a
cmp dword [esp + 0x84], 0x20
jne 0x4cdc2a
mov eax, dword [ebp + 0x27]
mov ecx, dword [esp + 0x88]
cmp eax, 0xffffffff
je 0x4cd827
cmp eax, ecx
jne 0x4cdc39
mov eax, dword [str.public]
mov edx, dword [esp + 0x24]
add eax, 0x120
cmp dword [ebp + 0x1a], 0x78
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jne 0x4cd855
mov dword [esp + 0x3c], 0x5aeeb8
jmp 0x4cd86e
cmp byte [ebp + 0x182e7], 0
mov dword [esp + 0x3c], 0x5accd8
jne 0x4cd86e
mov dword [esp + 0x3c], 0x5a8460
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x6e0]
lea eax, [esp + 0x80]
push ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x48], eax
call fcn.0057c0a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4cde1a
movzx eax, word [ebp + 0x5c]
mov bl, byte [esp + 0x11]
lea edx, [esp + 0x6e0]
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x4c], ecx
test bl, bl
je 0x4cd90a
lea edx, [esp + 0x30]
push edx
push 8
lea eax, [esp + 0x8720]
push eax
push str.systab41.i1
push str.migra
call fcn.0056b720
add esp, 0xc
push eax
call fcn.0050e190
add esp, 0xc
test eax, eax
jne 0x4cde86
jmp 0x4cd9b9
cmp byte [edi], 0
je 0x4cd979
lea ecx, [esp + 0x8694]
push edi
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, ecx
push 0x5a85d0
push edx
mov dword [esp + 0x5c], ecx
call edi
lea esi, [esp + eax + 0x86a0]
mov eax, dword [ebp + 0x184e7]
add esp, 0xc
test eax, eax
je 0x4cd94d
push eax
push str.__s_
push esi
call edi
add esp, 0xc
add esi, eax
cmp byte [ebp + 0x182ff], 0
jne 0x4cd963
push str._dupl
push esi
call edi
add esp, 8
add esi, eax
cmp byte [ebp + 0x182e7], 0
jne 0x4cd99e
push str._prim
push esi
call edi
add esp, 8
jmp 0x4cd99e
movzx eax, byte [ebp + 0x182e7]
movzx ecx, byte [ebp + 0x17fb1]
movzx edx, byte [ebp + 0x182ff]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00442a70
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
push 9
push 0x1e
call fcn.004434f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cde1a
movsx eax, bl
neg eax
sbb eax, eax
and eax, 2
neg eax
add eax, eax
add eax, eax
cmp dword [esp + 0x18], 0
mov ebx, eax
lea edx, [esp + 0x14]
mov dword [esp + 0x30], edx
lea eax, [esp + 0xa4]
mov dword [esp + ebx + 0x44], eax
lea ecx, [esp + 0x90]
lea edx, [esp + 0x9c]
mov dword [esp + ebx + 0x48], ecx
mov dword [esp + ebx + 0x4c], edx
mov dword [esp + 0x7c], 0
lea edi, [ebp + 0x6e8]
jle 0x4cdb79
lea ecx, [ecx]
mov eax, dword [edi]
lea ecx, [esp + 0x8694]
push ecx
lea esi, [edi + 4]
push 1
push esi
mov dword [esp + 0x40], eax
call fcn.00575800
add esp, 0xc
cmp byte [esp + 0x11], 0
mov dword [esp + 0x38], eax
jne 0x4cda51
mov eax, dword [edi + 0xe]
mov ecx, dword [edi + 0xa]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4cda51
test ecx, ecx
je 0x4cdc5d
mov edx, dword [edi + 0x12]
mov eax, dword [edi + 0x16]
lea ecx, [esp + 0x8694]
push ecx
push 1
push esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa8], eax
call fcn.00575800
add esp, 0xc
cmp byte [edi + 8], 0
mov dword [esp + 0x38], eax
mov eax, 0x5ad3bc
jne 0x4cda8c
mov eax, 0x5ad3b8
cmp word [esi], 0xd
mov dword [esp + ebx + 0x50], eax
jne 0x4cda9e
mov dword [esp + 0x28], 1
cmp dword [edi + 0x15f], 0
je 0x4cdaf6
cmp dword [edi + 0x167], 0
jne 0x4cdadd
cmp byte [esp + 0x12], 0
jne 0x4cdacf
lea esi, [esp + 0x60]
call fcn.004c5e80
test eax, eax
jne 0x4cde86
mov byte [esp + 0x12], 1
jmp 0x4cdad3
inc dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [edi + 0x167], edx
mov eax, dword [esp + 0x14]
push eax
mov esi, edi
call fcn.004c6c40
mov esi, eax
add esp, 4
test esi, esi
jne 0x4cde1a
cmp byte [esp + 0x11], 0
lea ecx, [edi + 0x167]
lea edx, [edi + 0x147]
mov dword [esp + ebx + 0x54], ecx
mov dword [esp + ebx + 0x58], edx
je 0x4cdb45
lea eax, [esp + 0x30]
push eax
push 7
lea ecx, [esp + 0x8720]
push ecx
push str.syscol41.i1
push str.migra
call fcn.0056b720
add esp, 0xc
push eax
call fcn.0050e190
add esp, 0xc
test eax, eax
jne 0x4cde86
jmp 0x4cdb60
lea edx, [esp + 0x30]
push edx
push 0xb
push 0x1f
call fcn.004434f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cde1a
mov eax, dword [esp + 0x7c]
inc eax
add edi, 0x16c
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
jl 0x4cda10
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x13]
push eax
push 0
push 0
push edi
push 3
push ebp
call fcn.004cbb40
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4cdc6c
cmp byte [esp + 0x13], al
je 0x4cdcb7
cmp byte [ebp + 0x17fb1], al
je 0x4cdca8
cmp dword [esp + 0x64], eax
jne 0x4cdca8
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00471f50
mov esi, eax
add esp, 4
test esi, esi
jne 0x4cde1a
lea edx, [esp + 0x30]
push edx
push 2
push 0x13
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
call fcn.004434f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cde1a
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x18]
push 1
push 0x14
mov dword [esp + 0x3c], eax
call fcn.004434f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cde1a
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x64], 1
jmp 0x4cd643
mov esi, 0x1b
mov eax, 0x5aee9c
jmp 0x4cde75
mov edx, eax
mov eax, dword [esp + 0x24]
push edx
push eax
push 0x7dd
push 0x388
call fcn.00406f10
add esp, 0x10
mov eax, 0x388
jmp 0x4cde86
mov esi, 0x1b
mov eax, str.dom_def_NULL
jmp 0x4cde75
jle 0x4cdc7a
cmp esi, 0x1388
jl 0x4cde1a
push ebp
lea eax, [esp + 0x8c]
call fcn.004c63e0
add esp, 4
test eax, eax
je 0x4cde1a
push 0x7dd
push 0
mov esi, eax
call fcn.00406f10
add esp, 8
jmp 0x4cde84
mov esi, 0x1b
mov eax, str.ubkey_rearranged
jmp 0x4cde75
cmp byte [ebp + 0x17fb1], 0
mov edi, dword [esp + 0x5c]
je 0x4cdd02
lea ecx, [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push ebp
mov edx, edi
call fcn.004c6450
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cde1a
mov eax, dword [esp + 0x20]
push edi
push eax
call fcn.004495c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cde1a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00471b10
mov esi, eax
add esp, 4
test esi, esi
jne 0x4cde1a
mov eax, dword [str.public]
add eax, 0x120
cmp byte [esp + 0x11], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, 0x5aee74
lea edx, [esp + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
je 0x4cdd82
lea eax, [esp + 0x30]
push eax
push 7
lea ecx, [esp + 0x8720]
push ecx
push str.systpr41.i1
push str.migra
call fcn.0056b720
add esp, 0xc
push eax
call fcn.0050e190
add esp, 0xc
test eax, eax
je 0x4cdda5
jmp 0x4cde86
lea edx, [esp + 0x30]
push edx
push 7
push 0
push fcn.00472210
push 0
push 0x629f60
call fcn.0050df80
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4cde1a
cmp dword [esp + 0x28], 0
je 0x4cde2b
mov ecx, dword [ebp + 0x5c]
lea eax, [esp + 0x28]
push eax
push 0
push ecx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x79], 1
mov byte [esp + 0x78], 3
call fcn.00423860
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4cde1a
mov eax, dword [esp + 0x28]
push eax
call fcn.004240d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4cde1a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0x30]
push 2
push 0x26
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call fcn.004434f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4cde2b
push 0x7dd
push 0
call fcn.00406f10
add esp, 8
jmp 0x4cde84
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.004c68a0
add esp, 4
test eax, eax
jne 0x4cde86
push ebp
call fcn.004c90d0
add esp, 4
test eax, eax
jne 0x4cde86
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCR90.dll_free]
push eax
call esi
add esp, 4
test edi, edi
je 0x4cde65
push edi
call esi
add esp, 4
xor eax, eax
jmp 0x4cde86
mov eax, dword [esp + 0xa0]
mov esi, 6
push eax
push 0x7dd
push esi
call fcn.00406f10
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x881c]
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
call fcn.00586584
add esp, 0x8810
ret