Function at 0x435160
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1cc
push ebp
push esi
mov esi, dword [esp + 0x1f0]
xor ebp, ebp
cmp dword [esp + 0x1d8], ebp
push edi
mov dword [esp + 0x54], ecx
jne 0x435189
mov edi, 0xc0000005
jmp 0x435832
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
mov edx, dword [esp + 0x2c]
jne 0x4351b9
cmp edx, ebp
jne 0x4351b9
mov edi, 0xc000011e
jmp 0x435832
mov eax, dword [esp + 0x1ec]
and eax, 8
cmp al, 8
jne 0x4351fe
mov eax, dword [esp + 0x1e8]
cmp eax, ebp
je 0x4351fe
mov edi, dword [eax + 4]
cmp edi, edx
jl 0x4351fe
jg 0x4351e1
mov edx, dword [eax]
cmp edx, ecx
jbe 0x4351fe
lea ecx, [esp + 0x1f4]
call fcn.0044ffe0
pop edi
pop esi
mov eax, 0xc0000040
pop ebp
add esp, 0x1cc
ret 0x20
push ebx
lea eax, [esp + 0x64]
push 0x30
push eax
mov dword [esp + 0x1c], ebp
call fcn.0041a830
mov ecx, dword [esp + 0x1fc]
add esp, 8
test ecx, 0x1000000
push ebp
je 0x43560e
mov edx, dword [esi]
xor ecx, ecx
push ebp
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push 0x40
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x435604
cmp dword [esp + 0x20], 0x40
jne 0x435604
cmp word [esp + 0x19c], 0x5a4d
jne 0x435604
mov eax, dword [esp + 0x1d8]
mov edi, dword [esi]
push ebp
cdq
push ebp
push edx
push eax
mov eax, dword [edi + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push 0xf8
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x435604
cmp dword [esp + 0x20], 0xf8
jne 0x435604
mov ecx, dword [esp + 0xcc]
cmp ecx, ebp
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
jne 0x4352d3
mov dword [esp + 0x64], ebp
jmp 0x4352d9
add ecx, eax
mov dword [esp + 0x64], ecx
movzx ecx, word [esp + 0xa8]
movzx eax, word [esp + 0x102]
movzx edx, word [esp + 0x100]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x70], eax
mov ax, word [esp + 0xee]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x9c]
push edi
mov dword [esp + 0x78], edx
mov dx, word [esp + 0xf0]
mov word [esp + 0x7c], ax
xor ecx, ecx
push 2
xor eax, eax
push ecx
mov dword [esp + 0x74], ebp
mov word [esp + 0x86], dx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1e4]
push ebp
push 0x8000000
push 0x40
lea edx, [esp + 0x48]
push edx
mov edx, dword [0x10176670]
push ebp
or eax, 0xf
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebp
mov eax, dword [edx + 0x25c]
push ecx
call eax
mov ecx, dword [0x10176670]
mov eax, dword [esp + 0x38]
mov edi, dword [ecx + 0x324]
mov ebx, dword [0x10078204]
push 0x40
push 0x100000
push 1
lea edx, [esp + 0x44]
push edx
push ebp
push eax
push ebp
lea ecx, [esp + 0x34]
push ecx
call ebx
mov edx, dword [esp + 0x34]
push eax
push edx
call edi
mov edi, eax
cmp edi, ebp
je 0x435415
cmp dword [esp + 0x18], ebp
je 0x43540d
mov eax, dword [0x10176670]
mov edx, dword [esp + 0x38]
push 0x40
push 0x100000
push 1
lea ecx, [esp + 0x44]
push ecx
push ebp
push edx
mov dword [esp + 0x30], ebp
mov edi, dword [eax + 0x324]
push ebp
lea eax, [esp + 0x34]
push eax
call ebx
mov ecx, dword [esp + 0x34]
push eax
push ecx
call edi
mov edi, eax
cmp edi, ebp
jne 0x435828
mov edx, dword [esi]
push ebp
xor ecx, ecx
push ebp
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xf8]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x3c]
movzx ecx, word [edi + eax + 0x14]
add edi, eax
cmp word [edi + 6], bp
lea ecx, [edi + ecx + 0x18]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], ebp
jbe 0x4355ed
lea ebx, [ecx + 0xc]
mov dword [esp + 0x1c], ebx
jmp 0x435474
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx - 4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 0x38]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.0041aff0
mov ebp, dword [ebx]
add ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
push eax
push ebp
mov dword [esp + 0x44], ebp
call fcn.0041a830
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x20
cmp ecx, eax
jne 0x4354df
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x5c]
push ecx
push 1
mov ecx, eax
push ecx
push eax
mov ecx, esi
mov dword [esp + 0xa8], eax
call edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x44], 0
je 0x43550d
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x50]
sub eax, dword [ebx]
mov edx, dword [ebx + 8]
mov ebx, dword [esp + 0x9c]
add eax, edx
cmp eax, ebx
jae 0x435524
mov ebx, eax
cmp word [edi + 6], 0
mov dword [esp + 0x4c], 0
jbe 0x43558e
mov ebp, dword [esp + 0x50]
add ebp, 0x14
lea ebx, [ebx]
mov edx, dword [edi + 0x38]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call fcn.0041aff0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp eax, ecx
jbe 0x435574
cmp eax, ebx
jae 0x435574
mov ebx, eax
mov eax, dword [esp + 0x4c]
movzx edx, word [edi + 6]
add eax, 1
add ebp, 0x28
cmp eax, edx
mov dword [esp + 0x4c], eax
jl 0x435540
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
add ecx, eax
cmp ebx, ecx
mov dword [esp + 0x24], ecx
jbe 0x4355c5
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
sub ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
add ebp, ecx
push ebx
push ebp
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
movzx ecx, word [edi + 6]
add dword [esp + 0x1c], 0x28
add eax, 1
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x435470
mov eax, dword [esp + 0x18]
mov ebx, dword [0x10078204]
xor ebp, ebp
mov edx, dword [0x10176670]
mov edi, dword [edx + 0x374]
push eax
call ebx
push eax
call edi
jmp 0x43577e
mov edi, 0xc000012f
jmp 0x435828
mov edx, dword [esp + 0x1e8]
mov eax, dword [0x10176670]
mov eax, dword [eax + 0x25c]
push ecx
push 0x40
lea ecx, [esp + 0x38]
push ecx
push ebp
or edx, 7
push edx
lea ecx, [esp + 0x2c]
push ecx
call eax
mov edi, eax
cmp edi, ebp
jne 0x435828
mov edx, dword [esi]
push ebp
xor ecx, ecx
push ebp
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov eax, dword [esp + 0x30]
xor edx, edx
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
jl 0x435803
mov edi, dword [esp + 0x2c]
jg 0x43567d
cmp edi, ebp
jbe 0x43574e
jmp 0x43567d
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov ecx, edi
sub ecx, edx
sbb eax, ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebp
mov ebp, dword [0x10176778]
jg 0x43569d
jl 0x435699
cmp ecx, ebp
jae 0x43569d
sub edi, edx
jmp 0x43569f
mov edi, ebp
mov ecx, dword [0x10176670]
mov ebp, dword [0x10078204]
push 4
push 0
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x28], edi
mov ebx, dword [ecx + 0x324]
push 0
lea ecx, [esp + 0x38]
push ecx
call ebp
mov edx, dword [esp + 0x34]
push eax
push edx
call ebx
mov edi, eax
test edi, edi
jne 0x435826
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [eax + 0x34]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x10176670]
mov edi, dword [eax + 0x374]
push ecx
call ebp
push eax
call edi
mov edi, eax
test edi, edi
jne 0x435826
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
adc ebx, eax
mov eax, dword [esp + 0x30]
cmp ebx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
jl 0x435677
jg 0x435801
mov edi, dword [esp + 0x2c]
cmp edx, edi
jb 0x43567b
xor ebp, ebp
mov ecx, dword [esp + 0x1ec]
cmp ecx, ebp
je 0x43577e
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, eax
jl 0x43577e
jg 0x435768
cmp edx, edi
jbe 0x43577e
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x1fc], ebp
je 0x43580c
push ebp
push 1
push 1
push ebp
call dword [0x1007816c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1e4]
mov edi, eax
push esi
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x1fc]
push ecx
push edx
add edi, 0x6000000
push eax
lea ecx, [esp + 0x48]
and edi, 0xfffffffc
push ecx
mov dword [esp + 0x3c], edi
call fcn.00484500
mov ecx, dword [esp + 0x70]
add esp, 0x18
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
add ecx, 0x7c
call fcn.004526f0
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov ecx, dword [esp + 0x1e0]
mov dword [ecx], edi
je 0x435822
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor edi, edi
jmp 0x435828
xor ebp, ebp
mov edi, dword [esp + 0x2c]
jmp 0x43574e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041aed0
mov edx, dword [esp + 0x1e4]
add esp, 4
mov dword [edx], eax
xor edi, edi
jmp 0x435828
xor ebp, ebp
lea ecx, [esp + 0x14]
call fcn.0041afa0
pop ebx
cmp esi, ebp
je 0x43583e
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1cc
ret 0x20