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

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, edi
push ebx
mov edi, ecx
sub esp, 0xac
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x68], eax
lea eax, [ecx + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc8]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x43601c
mov eax, dword [esp + 0xc8]
call fcn.004347b0
mov ebx, edx
mov ecx, edx
or ebx, eax
je 0x43601c
mov ebx, dword [esp + 0xd4]
mov edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
call fcn.004341f0
test eax, eax
mov ebp, eax
je 0x435cf4
mov eax, dword [eax + 8]
cmp eax, 0x2e
je 0x435930
cmp eax, 3
je 0x435930
xor edx, edx
cmp eax, 0x1d
sete dl
mov dword [esp + 0x3c], edx
cmp eax, 0x1d
mov eax, dword [esp + 0xdc]
cmovne eax, dword [esp + 0xd8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x435d35
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
test eax, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
je 0x435997
mov dword [esp + 0x28], 0
jmp 0x435894
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x435882
add ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
cmp eax, 0x47
je 0x435c0e
jbe 0x435940
cmp eax, 0x59
je 0x435bb2
lea esi, [esi]
ja 0x435b92
cmp eax, 0x55
je 0x435c80
cmp eax, 0x58
jne 0x435882
cmp dword [esp + 0x80], 1
je 0x435d90
add dword [esp + 0x28], 1
mov eax, dword [esp + 0x28]
cmp dword [ebp + 0x10], eax
jbe 0x435997
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x2c]
mov ecx, dword [edi + 0x10]
lea ebx, [eax*8]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x80]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 8], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 4], edx
mov edx, dword [edi + 0xc]
mov dword [esp], edx
mov edx, dword [esp + 0xc8]
call fcn.004349a0
test eax, eax
je 0x435cf4
cmp dword [ebp + 8], 0x11
jne 0x435835
mov eax, dword [ebp + 0x14]
cmp dword [eax + ebx], 0x11
jne 0x435835
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x435835
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x435835
mov dword [esp + 0x3c], 1
jmp 0x4357a6
cmp eax, 0x11
je 0x435bd3
jbe 0x435b57
cmp eax, 0x12
jne 0x435c05
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x435d01
mov eax, dword [esp + 0x88]
add dword [esp + 0x28], 1
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x44], edx
ja 0x435894
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x435e5b
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
je 0x435e29
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x435cb8
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x435e29
mov eax, dword [esp + 0x60]
test eax, eax
je 0x435e29
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x435df0
mov eax, dword [esp + 0x7c]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
call fcn.00434340
test eax, eax
je 0x435cf4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x435731
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x6c]
mov ecx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 4], edx
mov edx, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
call fcn.00435700
test eax, eax
je 0x435cf4
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x435731
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004326a0
test eax, eax
je 0x435cf4
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], 0x434450
mov dword [esp + 8], 0x18
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00433ad0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x8c]
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], eax
jmp 0x435731
cmp eax, 3
jne 0x435882
cmp dword [esp + 0x80], 3
jne 0x435882
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
test ecx, ecx
jne 0x435882
lea esi, [esi]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
jmp 0x435882
cmp eax, 0x6e
je 0x435ba2
cmp eax, 0x2007
jne 0x435882
cmp dword [esp + 0x80], 3
jne 0x435882
jmp 0x435b80
cmp dword [esp + 0x80], 1
jne 0x435882
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov dword [ecx + 8], eax
jmp 0x435882
mov edx, dword [esp + 0x80]
test edx, edx
jne 0x435882
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x60], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jmp 0x435882
cmp eax, 0x31
jne 0x435882
mov eax, dword [ebx + 4]
cmp eax, 0x10
je 0x435882
cmp eax, 0x20
je 0x435882
mov eax, dword [esp + 0x80]
cmp eax, 4
je 0x435c38
cmp eax, 1
jne 0x435882
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], edx
mov edx, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, esi
call fcn.004354a0
test eax, eax
jne 0x435b87
jmp 0x435882
mov eax, dword [esp + 0x80]
cmp eax, 6
je 0x435c95
cmp eax, 1
jne 0x435882
mov eax, dword [esp + 0x88]
mov dword [esp + 0x58], 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x70], eax
jmp 0x435882
xor edx, edx
mov ecx, dword [esi + 0x24]
cmp edx, dword [esp + 0x70]
ja 0x435ed1
jb 0x435cd3
cmp ecx, dword [esp + 0x64]
ja 0x435ed1
mov eax, dword [esp + 0xd4]
mov dword [esp + 8], 0
mov dword [esp + 4], str.function_ranges_offset_out_of_range
mov dword [esp], eax
call dword [esp + 0xd0]
xor eax, eax
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 1
jne 0x435882
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x78], 1
mov dword [esp + 0x4c], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x435882
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], 0x14
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004325a0
test eax, eax
mov dword [esp + 0x48], eax
je 0x435cf4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x4357d0
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov ecx, edx
or ecx, eax
jne 0x435db4
mov eax, dword [esp + 0x48]
mov dword [eax + 4], 0x47b2a9
jmp 0x435882
mov ecx, eax
mov ebx, edx
add ecx, 0xffffffff
adc ebx, 0xffffffff
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x34], 0
mov ecx, dword [ecx + 0x24]
jbe 0x435e05
mov eax, dword [esp + 0xc8]
mov edx, str.invalid_file_number_in_DW_AT_call_file_attribute
call fcn.00434500
jmp 0x435cf4
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add dword [esp + 0x40], eax
adc dword [esp + 0x44], edx
jmp 0x4359e1
cmp dword [esp + 0x30], ecx
jae 0x435dd7
mov ecx, dword [esp + 0xcc]
add eax, 0x3fffffff
mov edx, dword [ecx + 0x28]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + eax*4]
mov dword [ecx + 4], eax
jmp 0x435882
mov eax, dword [esp + 0xd4]
mov dword [esp + 8], 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004325f0
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x435731
mov eax, dword [esp + 0xdc]
mov ecx, edi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
call fcn.00435700
test eax, eax
jne 0x435731
jmp 0x435cf4
mov eax, dword [esi + 0x20]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x80], str..debug_ranges
mov dword [esp + 0x84], eax
add eax, ebx
sub ecx, ebx
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x8c], ecx
xor ecx, ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x435cf4
mov edx, dword [edi + 0x14]
lea eax, [esp + 0x80]
call fcn.00434850
mov esi, edx
mov ebx, eax
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x80]
call fcn.00434850
mov ecx, ebx
mov ebx, esi
or ecx, eax
or ebx, edx
or ebx, ecx
je 0x436026
mov ecx, dword [edi + 0x14]
cmp ecx, 2
je 0x435ff0
jle 0x435fd6
cmp ecx, 4
je 0x436008
cmp ecx, 8
jne 0x436040
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov esi, ecx
and esi, ebx
cmp esi, 0xffffffff
sete cl
movzx ecx, cl
test ecx, ecx
je 0x436040
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x435f4b
jmp 0x435cf4
cmp ecx, 1
jne 0x436040
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
xor bl, 0xff
or ebx, ecx
sete cl
movzx ecx, cl
jmp 0x435fb2
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
xor ebx, 0xffff
or ebx, ecx
sete cl
movzx ecx, cl
jmp 0x435fb2
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
not ebx
or ebx, esi
sete cl
movzx ecx, cl
jmp 0x435fb2
mov eax, 1
jmp 0x435cf6
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x435a36
jmp 0x435cf4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xd4]
adc edx, ebx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
adc edx, ebx
mov dword [esp + 4], edx
mov dword [esp + 0x10], esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x74]
call fcn.00434340
test eax, eax
je 0x435cf4
mov ecx, dword [esp + 0x9c]
jmp 0x435f43