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

Disassembly:
sub esp, 0x240
mov eax, dword [esp + 0x244]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x248]
push ebx
push esi
xor esi, esi
lea ebx, [eax + ecx]
lea edx, [esp + 0x188]
cmp ecx, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], 8
mov dword [esp + 0x28], esi
mov dword [esp + 8], edx
je 0x476394
lea ecx, [esp + 0x88]
push ebp
mov dword [esp + 0x4c], ecx
mov ecx, pe_nt_image_headers32
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov ecx, ebx
push edi
sub ecx, eax
lea edx, [esp + 0x90]
push ecx
push 0x3c
push eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
call fcn.0058a3e0
add esp, 0xc
cmp eax, esi
je 0x47634e
mov dword [esp + 0x70], eax
inc eax
mov ebp, eax
mov dword [esp + 0x74], eax
cmp ebp, ebx
jae 0x47634e
mov al, byte [ebp]
cmp al, 0x21
jne 0x475e34
test byte [esp + 0x260], 1
jne 0x475e1a
lea edx, [ebx + 3]
cmp ebp, edx
jae 0x475e1a
cmp byte [ebp + 1], 0x2d
jne 0x475e1a
cmp byte [ebp + 2], 0x2d
jne 0x475e1a
mov ecx, dword [esp + 0x18]
lea eax, [ebp + 3]
push ebx
push eax
call fcn.004763a0
test eax, eax
je 0x475e27
jmp 0x475e25
mov ecx, dword [esp + 0x18]
push ebx
push ebp
call fcn.00476410
mov ebp, eax
cmp ebp, ebx
je 0x47634e
jmp 0x476328
cmp al, 0x2f
jne 0x475e49
inc ebp
mov dword [esp + 0x28], 1
cmp ebp, ebx
jae 0x47634e
mov al, byte [ebp]
mov dword [esp + 0x14], ebp
cmp al, 0x20
jle 0x476328
cmp al, 0x7f
jge 0x475e78
cmp al, 0x3d
je 0x475e78
cmp al, 0x3e
je 0x475e78
cmp al, 0x2f
je 0x475e78
inc ebp
cmp ebp, ebx
jae 0x47634e
mov al, byte [ebp]
cmp al, 0x20
jg 0x475e58
cmp ebp, dword [esp + 0x14]
je 0x476328
movsx ecx, byte [ebp]
push ecx
mov edi, ebp
call fcn.00589b01
add esp, 4
test eax, eax
je 0x475eaf
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx edx, byte [ebp]
push edx
call fcn.00589b01
add esp, 4
test eax, eax
jne 0x475e95
mov eax, dword [esp + 0x28]
test eax, eax
je 0x475ec1
cmp byte [ebp], 0x3e
jne 0x47628d
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
push edi
push eax
mov ecx, esi
call fcn.00476b70
test eax, eax
jne 0x475ee0
mov dword [esp + 0x38], 1
jmp 0x475efc
mov ecx, dword [esp + 0x14]
push 1
push edi
lea edx, [esp + 0x58]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.004765f0
mov dword [esp + 0x14], 0
mov dword [esp + 0x34], 1
jmp 0x475f12
mov ebx, dword [esp + 0x40]
movsx eax, byte [ebp]
push eax
mov dword [esp + 0x20], 1
call fcn.00589b01
add esp, 4
test eax, eax
je 0x475f45
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx ecx, byte [ebp]
push ecx
call fcn.00589b01
add esp, 4
test eax, eax
jne 0x475f2b
mov al, byte [ebp]
cmp al, 0x2f
jne 0x475f8b
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx edx, byte [ebp]
push edx
call fcn.00589b01
add esp, 4
test eax, eax
je 0x475f80
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx eax, byte [ebp]
push eax
call fcn.00589b01
add esp, 4
test eax, eax
jne 0x475f66
mov al, byte [ebp]
cmp al, 0x3e
jne 0x47628d
cmp al, 0x3e
je 0x476296
mov ecx, ebp
cmp al, 0x20
mov dword [esp + 0x3c], ecx
jle 0x475fbd
cmp al, 0x7f
jge 0x475fbd
cmp al, 0x3d
je 0x475fbd
cmp al, 0x3e
je 0x475fbd
cmp al, 0x2f
je 0x475fbd
inc ebp
cmp ebp, ebx
jae 0x47634e
mov al, byte [ebp]
cmp al, 0x20
jg 0x475f9d
cmp ecx, ebp
mov dword [esp + 0x48], ebp
je 0x47628d
movsx ecx, byte [ebp]
push ecx
call fcn.00589b01
add esp, 4
test eax, eax
je 0x475ff4
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx edx, byte [ebp]
push edx
call fcn.00589b01
add esp, 4
test eax, eax
jne 0x475fda
mov al, byte [ebp]
cmp al, 0x20
jle 0x47600f
cmp al, 0x7f
jge 0x47600f
cmp al, 0x3d
je 0x47600f
cmp al, 0x3e
je 0x47600f
cmp al, 0x2f
jne 0x476139
cmp al, 0x2f
je 0x476139
cmp al, 0x3e
je 0x476139
cmp al, 0x3d
jne 0x47628d
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx eax, byte [ebp]
push eax
call fcn.00589b01
add esp, 4
test eax, eax
je 0x47605b
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx ecx, byte [ebp]
push ecx
call fcn.00589b01
add esp, 4
test eax, eax
jne 0x476041
mov al, byte [ebp]
cmp al, 0x22
je 0x4760bd
cmp al, 0x27
je 0x4760bd
movsx edx, al
mov edi, ebp
push edx
mov dword [esp + 0x50], edi
call fcn.00589b01
add esp, 4
test eax, eax
jne 0x47609c
cmp byte [ebp], 0x3e
je 0x47609c
inc ebp
cmp ebp, ebx
jae 0x47634e
movsx eax, byte [ebp]
push eax
call fcn.00589b01
add esp, 4
test eax, eax
je 0x47607c
cmp edi, ebp
mov dword [esp + 0x2c], ebp
je 0x47628d
mov esi, edi
mov ebx, ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], 2
jmp 0x47614f
xor ecx, ecx
mov esi, ebp
inc ebp
mov dl, al
cmp ebp, ebx
mov dword [esp + 0x44], esi
jae 0x47634e
mov al, byte [ebp]
mov edi, ebp
cmp al, dl
mov dword [esp + 0x4c], edi
je 0x476102
test ecx, ecx
jne 0x4760ee
cmp al, 0xa
jne 0x4760f2
mov ebp, edi
mov ecx, 1
jmp 0x4760fb
cmp al, 0x3e
je 0x476102
inc ebp
cmp ebp, ebx
jae 0x47634e
mov al, byte [ebp]
cmp al, dl
jne 0x4760dd
mov al, byte [ebp]
mov dword [esp + 0x2c], ebp
cmp al, dl
jne 0x476328
inc ebp
cmp ebp, ebx
jae 0x47634e
mov al, byte [esp + 0x260]
mov ebx, ebp
test al, 2
mov dword [esp + 0x1c], 2
je 0x47614f
mov dword [esp + 0x1c], 6
jmp 0x47614f
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov edi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x475f0e
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.00476ca0
test eax, eax
je 0x475f0e
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
mov eax, edx
jge 0x47620a
shl eax, 1
cmp eax, ecx
jl 0x476188
cmp eax, edx
mov dword [esp + 0x68], eax
je 0x47620a
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.005a1be9
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x70], eax
lea ecx, [ecx + ecx*2]
mov eax, dword [esp + 0x34]
shl ecx, 3
mov edx, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4761ea
cmp dword [esp + 0x24], 1
jle 0x4761dd
mov eax, dword [esp + 0x10]
push eax
jmp 0x4761e2
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005a1c12
add esp, 4
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
push 1
mov dword [edx + eax + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x58]
push edx
push eax
call fcn.004765f0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword [edx + eax + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x58]
push edi
push eax
call fcn.004765f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
sub ebx, esi
mov dword [eax + ecx + 8], esi
mov esi, dword [esp + 0x20]
inc esi
mov dword [eax + ecx + 0xc], ebx
inc edx
add eax, 0x18
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
jmp 0x475f0e
mov ebp, dword [esp + 0x74]
jmp 0x476328
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4762a9
inc ebp
cmp ebp, ebx
jae 0x47634e
jmp 0x476328
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
jle 0x4762ec
mov eax, dword [esp + 0x10]
add eax, 0x14
mov edx, dword [eax - 4]
mov ebx, dword [esp + 0x50]
add edx, ebx
mov dword [eax - 0x14], edx
mov edx, dword [eax]
mov edi, dword [esp + 0x50]
add eax, 0x18
add edx, edi
dec ecx
mov dword [eax - 0x28], edx
jne 0x4762cf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x25c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x18]
inc ebp
push edx
push eax
mov dword [esp + 0x94], ebp
call fcn.004772e0
mov ebx, dword [esp + 0x40]
cmp ebp, ebx
jae 0x47634e
mov ecx, ebx
xor esi, esi
sub ecx, ebp
mov dword [esp + 0x58], esi
push ecx
push 0x3c
push ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
call fcn.0058a3e0
add esp, 0xc
cmp eax, esi
jne 0x475dcf
mov eax, dword [esp + 0x5c]
xor esi, esi
pop edi
cmp eax, esi
pop ebp
je 0x476367
mov edx, dword [esp + 0x48]
push edx
call fcn.005a1c12
add esp, 4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
je 0x476394
mov edx, dword [esp + 8]
push edx
call fcn.005a1c12
add esp, 4
pop esi
pop ebx
add esp, 0x240
ret 0x10