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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x47515e
sub esp, 0x90
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
movzx eax, byte [esp + 0xac]
test al, al
jne 0x475063
mov ecx, dword [0x8f64fc]
lea edx, [0x7579c0]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x98]
lea ebp, [ebx + edx]
cmp ebp, 4
jle 0x475044
cmp ebp, 8
jle 0x475025
cmp ebp, 0x10
jle 0x475006
cmp ebp, 0x20
jle 0x474fe7
cmp ebp, 0x40
jle 0x474fc8
cmp ebp, 0x80
jg 0x47512a
lea eax, [0x792f80]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, pe_nt_image_headers32
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], ecx
test byte [eax], al
mov esi, dword [esp + 0x5c]
test byte [esi], al
mov ebx, dword [0xbc7270]
test ebx, ebx
jne 0x474fa1
mov edi, eax
call fcn.0044d1d6
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x84]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x4749f5
mov dword [esp + 0x40], 0
mov eax, dword [ebx + 8]
shr eax, 0x18
mov byte [esp + 0x40], al
mov eax, dword [ebx + 8]
shr eax, 0x10
mov byte [esp + 0x41], al
mov eax, dword [ebx + 8]
shr eax, 8
mov byte [esp + 0x42], al
mov eax, dword [ebx + 8]
mov byte [esp + 0x43], al
mov dword [esp], edi
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.00473090
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
lea esi, [eax + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov edx, ebp
mov ebp, dword [esp + 0x6c]
cmp esi, ecx
jge 0x474a9e
mov dword [esp + 0x48], esi
lea ebx, [ebx + esi*8]
mov ecx, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [0x8fdd00]
cmp ecx, esi
jne 0x47510c
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + 1]
cmp esi, edx
jg 0x474a57
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
lea edx, [ebp + ecx*4]
mov esi, dword [0xbc7270]
test esi, esi
jne 0x474a45
mov dword [ebp + ecx*4], ebx
jmp 0x47496b
mov ecx, edi
mov edi, edx
mov eax, ebx
call fcn.0044cc20
mov edi, ecx
jmp 0x47496b
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], edi
lea eax, [0x7d52c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438d80
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
jmp 0x474a22
mov dword [esp + 0x44], edx
mov dword [esp + 0x80], ebp
movzx ebx, byte [esp + 0xac]
test bl, bl
jne 0x474f6d
movzx eax, byte [0x8f620f]
mov byte [esp + 0x22], al
mov dword [esp], edi
lea eax, [esp + 0x22]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00473090
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x2c]
xor edi, edi
jmp 0x474b7b
mov dword [esp + 0x3c], 0
mov edx, dword [ecx + 8]
shr edx, 0x18
mov byte [esp + 0x3c], dl
mov edx, dword [ecx + 8]
shr edx, 0x10
mov byte [esp + 0x3d], dl
mov edx, dword [ecx + 8]
shr edx, 8
mov byte [esp + 0x3e], dl
mov ecx, dword [ecx + 8]
mov byte [esp + 0x3f], cl
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.00473090
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
cmp edi, ecx
jge 0x474c31
lea edx, [edx + edi*8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x60], ecx
mov edx, dword [edx]
lea ecx, [0x8fdd00]
cmp edx, ecx
jne 0x4750ee
mov dword [esp + 0x48], edi
lea edx, [esi + 1]
cmp edx, ebx
jg 0x474be9
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
lea ecx, [ebp + esi*4]
mov edx, dword [0xbc7270]
test edx, edx
jne 0x474bd3
mov ecx, dword [esp + 0x60]
mov dword [ebp + esi*4], ecx
jmp 0x474b09
mov edi, ecx
mov esi, eax
mov eax, dword [esp + 0x60]
call fcn.0044cc20
mov ecx, eax
mov eax, esi
jmp 0x474b09
mov dword [esp + 0x2c], esi
lea eax, [0x7d52c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438d80
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
lea ecx, [0x8fdd00]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
jmp 0x474bac
cmp esi, 0x32
jg 0x4750d4
mov edx, dword [esp + 0x68]
mov byte [edx + 0xc], 0
mov dword [edx + 8], eax
mov ebx, dword [esp + 0x98]
mov word [edx + 0x20], bx
mov word [edx + 0x22], cx
movzx ebx, byte [esp + 0xac]
test bl, bl
je 0x474c6a
or ecx, 0xffff8000
mov word [edx + 0x22], cx
mov dword [esp + 0x38], eax
lea ecx, [0xbb5a88]
mov dword [esp], ecx
lea edx, [0x772020]
mov dword [esp + 4], edx
lea ebx, [esp + 0x38]
mov dword [esp + 8], ebx
call fcn.004502f0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x474d29
lea eax, [0x7538c0]
cmp ecx, eax
jne 0x4750bc
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov edx, dword [edx]
mov dword [esp + 0x7c], edx
xor ebx, ebx
jmp 0x474cd7
mov ebp, dword [esp + 0x44]
lea ebx, [ebp + 1]
lea eax, [0x7538c0]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
cmp ebx, ecx
jge 0x474d29
mov dword [esp + 0x44], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00473c00
movzx eax, byte [esp + 0xc]
test al, al
je 0x474cc2
lea eax, [0x8fdd00]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb4], eax
nop
call fcn.004271b0
add esp, 0x90
ret
lea eax, [0xbb5a80]
mov dword [esp], eax
call fcn.00451660
lea eax, [0xbb5a80]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x8a464c]
mov dword [esp + 4], eax
call fcn.004269f0
test eax, eax
jne 0x474f60
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
lea ecx, [0xbb5a88]
mov dword [esp], ecx
lea ecx, [0x772020]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.004502f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x474e1c
lea edx, [0x7538c0]
cmp ecx, edx
jne 0x4750a4
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
mov dword [esp + 0x78], eax
xor edx, edx
jmp 0x474dca
mov ebx, dword [esp + 0x44]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
cmp edx, ecx
jge 0x474e1c
mov dword [esp + 0x44], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.00473c00
movzx eax, byte [esp + 0xc]
test al, al
je 0x474dbb
lea eax, [0x8fdd00]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb4], eax
nop
call fcn.004271b0
add esp, 0x90
ret
lea eax, [0x786060]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
lea ecx, [0x47f2f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call fcn.00475170
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00474580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
xor edx, edx
jmp 0x474e8c
mov ebx, dword [esp + 0x44]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
cmp edx, eax
jge 0x474eeb
mov dword [esp + 0x44], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00473c00
movzx eax, byte [esp + 0xc]
test al, al
je 0x474e7d
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
nop
call fcn.004271b0
add esp, 0x90
ret
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.0046fd10
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00470040
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
nop
call fcn.004271b0
add esp, 0x90
ret
nop
call fcn.004271b0
add esp, 0x90
ret
movzx eax, byte [0x8f620e]
mov byte [esp + 0x23], al
mov dword [esp], edi
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00473090
mov edi, dword [esp + 0x10]
jmp 0x474ab9
mov dword [esp + 0x30], edx
lea ecx, [0x7a0420]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0040f650
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
jmp 0x474947
lea eax, [0x793100]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x40
jmp 0x47491f
lea eax, [0x793040]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x20
jmp 0x47491f
lea eax, [0x792fe0]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x10
jmp 0x47491f
lea eax, [0x793160]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 8
jmp 0x47491f
lea eax, [0x7930a0]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 4
jmp 0x47491f
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x475144
mov eax, dword [esp + 0x94]
lea edx, [eax + ecx*8 - 8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov ebx, dword [ebx + 0x50]
mov dword [esp], edx
call ebx
mov eax, dword [esp + 4]
cmp eax, 0x17
jne 0x475144
movzx eax, byte [esp + 0xac]
jmp 0x474896
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x7715a0]
mov dword [esp + 8], eax
call fcn.00407230
ud2
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x7715a0]
mov dword [esp + 8], eax
call fcn.00407230
ud2
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [0x8f76c0]
mov dword [esp + 4], eax
call fcn.00427510
ud2
mov dword [esp], edx
lea eax, [0x7d52c0]
mov dword [esp + 4], eax
lea eax, [0x7c9ea0]
mov dword [esp + 8], eax
call fcn.004072f0
ud2
mov dword [esp], ecx
lea eax, [0x7d52c0]
mov dword [esp + 4], eax
lea eax, [0x7c9ea0]
mov dword [esp + 8], eax
call fcn.004072f0
ud2
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [0x8f76b8]
mov dword [esp + 4], eax
call fcn.00427510
ud2
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [0x8f76a8]
mov dword [esp + 4], eax
call fcn.00427510
ud2
call fcn.0044b4c0
jmp fcn.00474850