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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49475d
push eax
mov dword fs:[0], esp
sub esp, 0x444
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x87890], edi
je 0x435458
mov eax, dword [esp + 0x468]
mov ecx, dword [esp + 0x464]
push eax
push ecx
lea ecx, [ebp + 0x86b1c]
call fcn.00451340
mov esi, eax
mov eax, dword [ebp + 0x86ba0]
cmp eax, 1
je 0x43522c
cmp eax, 2
jne 0x435238
lea ebx, [ebp + 0x86d2c]
mov dword [esp + 0x14], ebx
jmp 0x43523c
mov ebx, dword [esp + 0x14]
cmp eax, 3
jne 0x43524d
lea edx, [ebp + 0x86c60]
mov dword [esp + 0x14], edx
mov ebx, edx
cmp esi, 0xffffffff
je 0x435458
cmp dword [ebx + 0x44], edi
je 0x435458
push esi
lea ecx, [ebp + 0x86a40]
call fcn.00464dc0
cmp dword [ebx + 0x54], 1
jne 0x43528e
mov eax, dword [ebx + 0x30]
mov ecx, ebp
mov eax, dword [eax + esi*4]
push eax
mov eax, dword [ebx + 0x40]
push eax
call fcn.0043ce70
mov ecx, dword [ebx + 0x40]
push ecx
mov ecx, ebp
call fcn.0043cfa0
cmp dword [ebx + 0x54], 2
jne 0x435409
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x4c]
sub esp, 0x408
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x30]
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x454]
mov dword [esp + 0x420], esp
mov ebx, dword [eax + esi*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, str._File_End_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, str._File_End_
mov dword [esp + 0x858], ecx
mov edx, ecx
lea edi, [esp + 0x454]
mov dword [esp + 0x854], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, esp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x858]
mov ecx, pe_nt_image_headers32
lea esi, [esp + 0x454]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x854]
lea esi, [ebp + 0x3ea0]
mov dword [eax + 0x400], ecx
mov ecx, esi
mov dword [eax + 0x404], edx
call fcn.0040c980
mov eax, dword [esi + 4]
test eax, eax
jne 0x435341
xor edx, edx
jmp 0x435357
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0xfe03f81
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebx
jb 0x43537d
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jg 0x43537d
mov eax, ebx
mov dword [esi + 0x14], ebx
sub eax, ecx
test eax, eax
jle 0x43537d
mov ecx, 0x408
mov edi, dword [esi + 0x10]
add edi, ecx
dec eax
mov dword [esi + 0x10], edi
jne 0x435372
mov eax, dword [esi + 4]
test eax, eax
jne 0x435388
xor edx, edx
jmp 0x43539e
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0xfe03f81
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, dword [esi + 0x14]
jbe 0x4353a8
mov eax, dword [esi + 0x10]
jmp 0x4353ab
lea eax, [esi + 0x18]
mov edx, dword [eax + 0x404]
mov ebx, dword [eax + 0x400]
mov ecx, pe_nt_image_headers32
mov esi, eax
lea edi, [esp + 0x4c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x450], edx
lea edx, [ebp + 0x1a4]
mov ecx, pe_nt_image_headers32
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x450]
mov ecx, pe_nt_image_headers32
lea esi, [esp + 0x4c]
mov edi, edx
mov dword [esp + 0x44c], ebx
mov dword [edx + 0x400], ebx
mov ebx, dword [esp + 0x14]
mov dword [edx + 0x404], eax
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp dword [ebp + 0x86ba0], 3
jne 0x435428
lea ecx, [ebp + 0x87a20]
push 1
push ecx
mov ecx, ebp
call fcn.00437070
mov dword [ebp + 0x86d00], edi
mov dword [ebx + 0x54], edi
mov ecx, ebx
mov dword [ebp + 0x12a4], edi
mov dword [ebp + 0x87890], edi
call fcn.00465880
mov ecx, ebp
mov dword [ebp + 0x86b7c], edi
call fcn.00443c40
mov ecx, ebp
mov dword [ebp + 0x86b80], edi
call fcn.00446390
cmp dword [ebp + 0x87894], edi
je 0x4357b3
cmp dword [ebp + 0x5574], edi
jne 0x4357b3
mov ecx, dword [ebp + 0x879c8]
cmp ecx, edi
je 0x4357b3
cmp dword [ecx + 0xf4], 0xffffffff
jne 0x4354a4
mov edx, dword [esp + 0x468]
mov eax, dword [esp + 0x464]
push edx
push eax
add ecx, 0x88
call fcn.00451340
jmp 0x4354c0
mov edx, dword [ebp + 0x87898]
mov eax, dword [esp + 0x468]
push edx
mov edx, dword [esp + 0x468]
push eax
push edx
call fcn.00456a80
cmp eax, 0xffffffff
je 0x4357b3
mov ecx, dword [ebp + 0x879c8]
mov edx, dword [ecx + 0x24]
mov esi, dword [edx + eax*4]
mov eax, dword [ebp + 0x87898]
cmp eax, edi
mov dword [esp + 0x1c], esi
mov edi, 1
je 0x4354f4
cmp dword [esi + 0x9c], edi
jne 0x4357b3
mov eax, dword [esi + 0x78]
cmp eax, 0xffffffff
je 0x43550b
push eax
mov eax, dword [ecx + 0xbc]
push eax
mov ecx, ebp
call fcn.0043ce70
cmp dword [esi + 0x84], edi
jne 0x435531
mov ecx, ebp
call fcn.00437180
mov ecx, ebp
call fcn.00438b90
mov dword [ebp + 0x12a4], 2
mov dword [ebp + 0x87bbc], edi
mov ecx, ebp
call fcn.0043f970
cmp dword [esi + 0x7c], 0xffffffff
je 0x435715
mov ecx, dword [ebp + 0x86b48]
mov edx, dword [ebp + 0x5ac]
mov eax, dword [ebp + 0xa50]
mov ebx, dword [ebp + 0x3eb4]
mov edi, dword [ebp + 0xa14]
mov dword [esp + 0x20], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x14], edx
mov dl, byte [esp + 0x13]
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], eax
lea esi, [ebp + 0xa38]
mov byte [esp + 0x35], dl
mov byte [esp + 0x3c], 0
call fcn.0042bc40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
mov dword [esp + 0x45c], 0
cmp edx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
je 0x4355f0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.0044aad0
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.0040d820
mov cl, byte [esi + 1]
push esi
mov byte [esp + 0x39], cl
lea ecx, [esp + 0x38]
call fcn.0044b7a0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov eax, dword [ebp + 0xa10]
lea esi, [ebp + 0x9e4]
xor edi, edi
mov ebx, 1
cmp eax, edi
mov dword [esp + 0x45c], ebx
je 0x43566c
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp ecx, edx
je 0x43566c
lea eax, [ecx + 0x24]
cmp eax, edx
jne 0x435641
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00450300
add esp, 8
mov ecx, esi
call fcn.0044be40
jmp 0x43568a
mov dword [esp + 0x18], ecx
mov dword [esi + 0x1c], eax
mov dword [esp + 0x48], ecx
cmp ecx, edi
mov byte [esp + 0x45c], 2
je 0x435662
lea edx, [esp + 0x24]
push edx
call fcn.004509b0
mov byte [esp + 0x45c], 1
jmp 0x43568a
mov ecx, esi
call fcn.0044be40
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [eax + 0x24]
mov dword [esi + 0x1c], ecx
call fcn.00450300
add esp, 8
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x7c]
push ecx
mov ecx, ebp
call fcn.00435140
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x87048], ebx
push eax
lea edx, [esp + 0x4c]
mov ecx, dword [eax]
mov dword [esp + 0x460], 0xffffffff
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0040d820
mov eax, dword [esp + 0x38]
push eax
call fcn.00485136
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
call fcn.00474aac
mov eax, dword [0x536004]
dec eax
mov dword [0x536004], eax
jne 0x435707
mov ecx, dword [0x536000]
push ecx
call fcn.00485136
add esp, 4
mov dword [0x536000], edi
lea ecx, [esp + 0x1c]
call fcn.00474b48
mov edi, 1
mov esi, dword [ebp + 0x879c8]
xor ebx, ebx
mov eax, dword [esi + 0x24]
cmp eax, ebx
jne 0x435728
xor edx, edx
jmp 0x435730
mov edx, dword [esi + 0x28]
sub edx, eax
sar edx, 2
xor ecx, ecx
cmp edx, ebx
jle 0x435775
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0xa0], ebx
jne 0x43574c
mov dword [eax + 0x80], edi
jmp 0x435756
mov dword [eax + 0x80], 2
mov dword [eax + 0x9c], ebx
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0xa0], ebx
je 0x435770
mov dword [esi + 0xcc], ecx
inc ecx
cmp ecx, edx
jl 0x435736
mov edi, dword [esi + 0xf8]
cmp edi, ebx
je 0x435795
mov ecx, edi
call fcn.004054b0
push edi
call fcn.00485136
add esp, 4
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xc4], ebx
mov dword [ebp + 0x12a4], ebx
mov dword [ebp + 0x87894], ebx
mov dword [ebp + 0x879c8], ebx
mov dword [ebp + 0x87898], ebx
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x450
ret 8