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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, eax
mov esi, edx
test edx, edx
je 0x4751a8
mov ebx, dword [eax + 0x18]
mov eax, dword [edx + 4]
cmp eax, 0x13
je 0x4751a8
cmp eax, 0x14
je 0x4751a8
cmp eax, 0xd
je 0x474cca
cmp eax, 9
jne 0x474cda
add esp, 0x2c
mov edx, esi
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004749a4
cmp eax, 0xe
jne 0x474ced
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00475238
cmp eax, 0xb
jne 0x474d03
mov edx, dword [edx + 0xc]
mov eax, edi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004751b0
cmp eax, 0xf
jne 0x474d1c
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0046b082
jmp 0x4751a8
cmp eax, 0x10
jne 0x474d35
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0046b2d7
jmp 0x4751a8
cmp eax, 0x11
jne 0x474d4e
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0045121e
jmp 0x4751a8
cmp eax, 3
jne 0x474d90
mov eax, dword [edx + 0x28]
test eax, eax
je 0x4751a8
cmp dword [edx + 8], str.textnoenc
je 0x474d7f
mov edx, dword [edi + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call fcn.0047789d
jmp 0x4751a8
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00477c9c
jmp 0x4751a8
cmp eax, 7
jne 0x474e25
cmp dword [edx + 0x28], 0
je 0x474de9
mov dword [esp + 8], 0x656cb6
mov dword [esp + 4], 2
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00477c9c
cmp dword [esi + 0x28], 0
je 0x474e10
mov dword [esp + 8], 0x656cad
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 0x28]
jmp 0x474e04
mov dword [esp + 8], 0x656cb6
mov dword [esp + 4], 2
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00477c9c
mov dword [esp + 8], 0x656cb9
mov dword [esp + 4], 2
jmp 0x474f73
cmp eax, 8
jne 0x474e68
cmp dword [edx + 0x28], 0
je 0x4751a8
mov dword [esp + 8], 0x656cbc
mov dword [esp + 4], 4
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00477c9c
mov dword [esp + 8], 0x656cc1
jmp 0x474f6b
cmp eax, 5
jne 0x474ea9
mov dword [esp + 8], str.__:
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00477c9c
mov dword [esp + 8], 0x656cab
mov dword [esp + 4], 1
jmp 0x474f73
cmp eax, 4
jne 0x474f80
mov esi, dword [edx + 0x28]
mov eax, esi
test esi, esi
jne 0x474f31
mov dword [esp + 8], str.___CDATA____
mov dword [esp + 4], 0xc
jmp 0x474f73
cmp dl, 0x5d
jne 0x474f2c
cmp byte [eax + 1], 0x5d
jne 0x474f2c
lea edi, [eax + 2]
cmp byte [eax + 2], 0x3e
jne 0x474f2c
mov dword [esp + 8], str.___CDATA_
mov dword [esp + 4], 9
mov dword [esp], ebx
call fcn.00477af8
mov eax, edi
mov dword [esp + 8], esi
sub eax, esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00477af8
mov dword [esp + 8], 0x656ccf
mov dword [esp + 4], 3
mov dword [esp], ebx
call fcn.00477af8
mov eax, edi
jmp 0x474f2e
mov edi, esi
inc eax
mov esi, edi
mov dl, byte [eax]
test dl, dl
jne 0x474ed0
cmp esi, eax
je 0x4751a8
mov dword [esp + 8], str.___CDATA_
mov dword [esp + 4], 9
mov dword [esp], ebx
call fcn.00477af8
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00477c9c
mov dword [esp + 8], 0x656ccf
mov dword [esp + 4], 3
mov dword [esp], ebx
call fcn.00477af8
jmp 0x4751a8
cmp eax, 2
jne 0x474f93
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00473d33
cmp eax, 0x12
jne 0x474fa6
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004737eb
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x1c], eax
dec eax
jne 0x474fcf
mov eax, dword [edx + 0xc]
jmp 0x474fcb
mov edx, dword [eax + 4]
sub edx, 3
cmp edx, 2
ja 0x474fc8
mov dword [edi + 0x28], 0
jmp 0x474fcf
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x474fb4
mov dword [esp + 8], 0x656cd3
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 0x24]
test eax, eax
je 0x475019
mov eax, dword [eax + 0xc]
test eax, eax
je 0x475019
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00477c9c
mov dword [esp + 8], 0x656caf
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00477c9c
mov eax, dword [esi + 0x30]
test eax, eax
je 0x47503b
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004738aa
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x475056
mov edx, ecx
mov dword [ebp - 0x20], ecx
mov eax, edi
call fcn.00473d33
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x18]
jmp 0x47503e
cmp dword [esi + 4], 1
je 0x475062
cmp dword [esi + 0x28], 0
jne 0x475083
cmp dword [esi + 0xc], 0
jne 0x475083
test byte [edi + 0x20], 4
jne 0x475083
mov dword [esp + 8], 0x656ec5
mov dword [esp + 4], 2
jmp 0x47519a
mov dword [esp + 8], 0x656dc9
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
cmp dword [esi + 4], 1
je 0x4750bb
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4750bb
mov edx, dword [edi + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call fcn.0047789d
cmp dword [esi + 0xc], 0
je 0x475131
cmp dword [edi + 0x28], 0
je 0x4750df
mov dword [esp + 8], 0x656dcb
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [edi + 0x24]
test eax, eax
js 0x4750ea
inc eax
mov dword [edi + 0x24], eax
mov eax, edi
mov edx, dword [esi + 0xc]
call fcn.004751b0
mov eax, dword [edi + 0x24]
test eax, eax
jle 0x4750ff
dec eax
mov dword [edi + 0x24], eax
cmp dword [0x5dd29c], 0
je 0x475131
cmp dword [edi + 0x28], 0
je 0x475131
lea eax, [edi + 0x2c]
mov dword [esp + 8], eax
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x6c]
cmp eax, edx
jle 0x475121
mov eax, edx
imul eax, dword [edi + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00477af8
mov dword [esp + 8], 0x656e15
mov dword [esp + 4], 2
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 0x24]
test eax, eax
je 0x47517b
mov eax, dword [eax + 0xc]
test eax, eax
je 0x47517b
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00477c9c
mov dword [esp + 8], 0x656caf
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [esi + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00477c9c
mov dword [esp + 8], 0x656dc9
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x28], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret