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

Disassembly:
mov ecx, dword [0x5b96c8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x475456
sub esp, 0xe8
mov edx, dword [esp + 0x108]
cmp edx, 0x20
je 0x474c49
cmp edx, 0x40
jne 0x47543d
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
lea edx, [0x589430]
jmp 0x474c6f
mov eax, dword [esp + 0xfc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
call fcn.0044d5a0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x589420]
mov dword [esp + 0xcc], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov ebx, dword [edx + 4]
mov dword [esp + 0x8c], ebx
mov ebp, dword [edx]
mov dword [esp + 0x88], ebp
lea esi, [ebp + ebx - 0x20]
mov edi, ecx
mov ecx, esi
shr edi, cl
neg ecx
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x54]
shl edx, cl
mov dword [esp + 0x80], edx
lea edx, [ebx + ebp]
mov dword [esp + 0x7c], edx
mov ecx, edx
mov ebx, dword [esp + 0x54]
shr ebx, cl
mov dword [esp + 0x78], ebx
shr eax, cl
mov ecx, ebp
mov ebx, dword [esp + 0x50]
shr ebx, cl
mov dword [esp + 0x74], ebx
lea ebx, [ecx - 0x20]
mov ecx, ebx
mov edx, dword [esp + 0x54]
shr edx, cl
mov dword [esp + 0x70], edx
neg ecx
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x54]
shl edx, cl
mov dword [esp + 0x68], edx
mov ecx, dword [esp + 0x8c]
mov edx, 1
shl edx, cl
mov dword [esp + 0x64], edx
mov ecx, ebp
mov edx, 1
shl edx, cl
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x6c]
mov edx, 1
shr edx, cl
mov dword [esp + 0x5c], edx
mov ecx, ebx
mov ebp, 1
shl ebp, cl
mov edx, dword [esp + 0x7c]
cmp edx, 0x20
sbb edx, edx
and eax, edx
cmp esi, 0x20
sbb esi, esi
and edi, esi
mov esi, ebp
mov ebp, dword [esp + 0x84]
cmp ebp, 0x20
sbb ebp, ebp
mov ebx, dword [esp + 0x80]
and ebp, ebx
or eax, ebp
or edi, eax
test edi, edi
setne bl
mov ebp, dword [esp + 0x78]
test edx, ebp
setne dl
or edx, ebx
cmp ecx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x70]
and ebp, ebx
and esi, ebx
mov ebx, dword [esp + 0x6c]
cmp ebx, 0x20
sbb ebx, ebx
mov eax, edx
mov edx, dword [esp + 0x68]
and edx, ebx
mov ecx, ebp
mov ebp, dword [esp + 0x5c]
and ebp, ebx
or esi, ebp
mov ebx, dword [esp + 0x88]
cmp ebx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x74]
and ebp, ebx
or ebp, edx
or ecx, ebp
mov edx, dword [esp + 0x60]
and edx, ebx
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x8c]
cmp ebx, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x64]
and ebx, ebp
dec ebx
and ecx, ebx
add edx, 0xffffffff
mov edi, esi
adc esi, 0xffffffff
mov ebp, dword [esp + 0x54]
and esi, ebp
mov ebp, dword [esp + 0x50]
and edx, ebp
cmp ecx, ebx
jne 0x474ed6
test edx, edx
setne cl
test esi, esi
setne dl
or edx, ecx
test dl, dl
je 0x474dfe
mov eax, 3
lea ecx, [0x4df507]
jmp 0x474e1a
test al, al
je 0x474e0f
mov eax, 4
lea ecx, [0x4df634]
jmp 0x474e1a
mov eax, 4
lea ecx, [0x4df638]
mov edx, dword [esp + 0xf0]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xf4]
cmp ebp, ebx
jb 0x474e38
mov esi, dword [esp + 0xec]
jmp 0x474e8a
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xec]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x4cd620]
mov dword [esp + 0x10], ecx
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xf0]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x64], ebx
mov dword [esp + 0xd0], esi
mov dword [esp + 0x58], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00466ff0
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x114], eax
add esp, 0xe8
ret
test ecx, ecx
jne 0x474ee1
mov ecx, 1
jmp 0x474eec
or esi, edi
mov ebx, dword [esp + 0x84]
or edx, ebx
mov ebx, dword [esp + 0xcc]
add ecx, dword [ebx + 8]
movzx ebp, byte [esp + 0x100]
xchg ebp, eax
cmp al, 0x62
xchg ebp, eax
je 0x4753dc
xchg ebp, eax
cmp al, 0x78
xchg ebp, eax
je 0x474f17
xchg ebp, eax
cmp al, 0x58
xchg ebp, eax
jne 0x474f89
mov edi, dword [esp + 0xec]
mov dword [esp], edi
mov edi, dword [esp + 0xf0]
mov dword [esp + 4], edi
mov edi, dword [esp + 0xf4]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x104]
mov dword [esp + 0xc], edi
xchg ebp, eax
mov byte [esp + 0x10], al
xchg ebp, eax
mov byte [esp + 0x11], al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
call fcn.00476820
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0xe8
ret
movzx edi, byte [0x589360]
xchg edi, eax
test al, al
xchg edi, eax
je 0x47536a
mov byte [esp + 0x3b], al
mov dword [esp + 0x48], ecx
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.004668fb
mov ecx, dword [esp + 0x104]
test ecx, ecx
jl 0x4751e5
xchg ebp, eax
cmp al, 0x66
xchg ebp, eax
je 0x475160
mov dword [esp + 0x40], edx
xchg ebp, eax
cmp al, 0x47
xchg ebp, eax
ja 0x474ff5
xchg ebp, eax
cmp al, 0x45
xchg ebp, eax
je 0x474ffc
xchg ebp, eax
cmp al, 0x47
xchg ebp, eax
jne 0x474fe7
test ecx, ecx
jmp 0x47501e
mov edi, edx
mov edx, dword [esp + 0x108]
cmp edx, 0x20
jmp 0x475053
xchg ebp, eax
cmp al, 0x65
xchg ebp, eax
jne 0x475015
lea edi, [ecx + 1]
mov edx, dword [esp + 0x108]
cmp edx, 0x20
mov edx, edi
mov dword [esp + 0x64], ecx
mov edi, dword [esp + 0x40]
jmp 0x47505c
xchg ebp, eax
cmp al, 0x67
xchg ebp, eax
jne 0x475047
test ecx, ecx
jne 0x475033
mov edi, edx
mov edx, dword [esp + 0x108]
cmp edx, 0x20
mov edx, 1
jmp 0x475041
mov edi, edx
mov edx, dword [esp + 0x108]
cmp edx, 0x20
mov edx, ecx
mov dword [esp + 0x64], edx
jmp 0x47505c
mov edi, edx
mov edx, dword [esp + 0x108]
cmp edx, 0x20
mov edx, 1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], esi
lea edi, [esp + 0x90]
call fcn.004668fa
jne 0x4750d8
cmp edx, 9
jg 0x4750d8
lea eax, [esp + 0x90]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0x18
mov dword [esp + 0xdc], 0x18
mov eax, dword [ebx]
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x48]
sub ebp, eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.004770f0
mov ebx, dword [esp + 0xcc]
movzx ebp, byte [esp + 0x100]
mov esi, dword [esp + 0x44]
mov eax, 1
jmp 0x47514d
cmp edx, 0x12
jg 0x47514a
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x90]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0x18
mov dword [esp + 0xdc], 0x18
mov eax, dword [ebx]
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x48]
sub ebp, eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00477450
mov eax, dword [esp + 0x4c]
cmp eax, 0x12
mov ebx, dword [esp + 0xcc]
movzx ebp, byte [esp + 0x100]
mov esi, dword [esp + 0x44]
setle al
mov edx, dword [esp + 0x40]
mov edi, eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x104]
jmp 0x475164
mov eax, ecx
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x475171
test eax, eax
jmp 0x4752eb
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
xchg ebp, eax
mov byte [esp + 0x10], al
xchg ebp, eax
movzx eax, byte [esp + 0x3b]
mov byte [esp + 0x11], al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00475460
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0xe8
ret
lea edi, [esp + 0xa8]
call fcn.004668f8
lea ecx, [esp + 0xa8]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], 0x20
mov dword [esp + 0xdc], 0x20
mov ecx, dword [ebx]
lea ebp, [esp + 0xd4]
mov dword [esp], ebp
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov edx, dword [esp + 0x48]
sub edx, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00477f20
movzx ecx, byte [esp + 0x100]
cmp cl, 0x47
ja 0x475269
cmp cl, 0x45
je 0x47526e
cmp cl, 0x47
jne 0x47525e
mov eax, dword [esp + 0x104]
test eax, eax
jmp 0x4752d5
mov eax, dword [esp + 0x104]
test eax, eax
jmp 0x4752e7
cmp cl, 0x65
jne 0x475295
mov eax, dword [esp + 0xe0]
dec eax
test eax, eax
jle 0x475285
mov edx, dword [esp + 0x104]
test edx, edx
jmp 0x4752e7
mov edx, dword [esp + 0x104]
test edx, edx
mov eax, 0
jmp 0x4752e7
cmp cl, 0x66
jne 0x4752c7
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xe4]
test eax, eax
jle 0x4752b7
mov edx, dword [esp + 0x104]
test edx, edx
jmp 0x4752e7
mov edx, dword [esp + 0x104]
test edx, edx
mov eax, 0
jmp 0x4752e7
cmp cl, 0x67
jne 0x4752de
mov eax, dword [esp + 0x104]
test eax, eax
mov eax, dword [esp + 0xe0]
jmp 0x4752e7
mov eax, dword [esp + 0x104]
test eax, eax
mov ebp, ecx
mov ecx, eax
mov dword [esp + 0x64], ecx
setl al
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
movzx eax, byte [esp + 0x3b]
mov byte [esp + 0xd], al
lea edi, [esp + 0x10]
lea esi, [esp + 0xd4]
call fcn.00466dde
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
xchg ebp, eax
mov byte [esp + 0x28], al
xchg ebp, eax
call fcn.004757a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0xe8
ret
mov edi, dword [esp + 0xec]
mov dword [esp], edi
mov edi, dword [esp + 0xf0]
mov dword [esp + 4], edi
mov edi, dword [esp + 0xf4]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x104]
mov dword [esp + 0xc], edi
xchg ebp, eax
mov byte [esp + 0x10], al
xchg ebp, eax
mov byte [esp + 0x11], al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
call fcn.00475460
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0xe8
ret
mov ebp, dword [esp + 0xec]
mov dword [esp], ebp
mov ebp, dword [esp + 0xf0]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 8], ebp
mov byte [esp + 0xc], al
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
call fcn.00476680
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0xe8
ret
lea eax, [0x4cd2e0]
mov dword [esp], eax
lea eax, [0x5060ec]
mov dword [esp + 4], eax
call fcn.00437720
nop
call fcn.00465370
jmp fcn.00474c00