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

Disassembly:
sub esp, 0x4c
mov edx, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
xor eax, eax
cmp edx, 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebp
ja case.default.0x435dfe
jmp dword [edx*4 + 0x436160]
mov dword [esp + 0x10], 0x400
jmp case.default.0x435dfe
mov dword [esp + 0x10], 0x800
jmp case.default.0x435dfe
mov dword [esp + 0x10], 0x1000
jmp case.default.0x435dfe
mov dword [esp + 0x10], 0x2000
jmp case.default.0x435dfe
mov dword [esp + 0x10], 0x4000
jmp case.default.0x435dfe
mov eax, 1
mov dword [esp + 0x10], 0x8000
jmp case.default.0x435dfe
mov eax, 1
mov dword [esp + 0x10], 0x10000
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x10]
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x435e95
mov cl, byte [ebx + 0xb]
cmp cl, 6
je 0x435e6f
cmp cl, 0x61
jne 0x435e95
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je case.0x436027.4
push ebp
push ebp
push eax
push ebp
push ecx
mov ecx, dword [esi + 0x20]
add ecx, 0x78
call fcn.00401460
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x435ea5
mov eax, dword [eax + 0x20]
mov dword [esp + 0x14], eax
jmp 0x435ea9
mov dword [esp + 0x14], ebp
cmp byte [ebx + 0xc], 0x22
jne 0x435f23
mov ecx, dword [ebx + 4]
call fcn.0044ee50
mov esi, dword [ebx + 0x10]
xor eax, eax
mov edi, 1
lea ecx, [eax + esi]
xor edx, edx
mov ebx, eax
add eax, 2
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
test edi, edi
mov ebp, edx
jne 0x435f14
lea ecx, [eax + esi]
xor edx, edx
mov edi, 1
add eax, 2
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
mov ecx, dword [esp + 0x64]
shl edi, cl
test edi, edx
je 0x435f14
mov ecx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
add eax, esi
push ecx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x51c]
lea ecx, [eax + 0x598]
push edx
call fcn.00436690
test ebp, ebp
je 0x435fbc
lea eax, [ebx + ebp]
xor edi, edi
jmp 0x435ec1
cmp edx, 3
jne 0x435fb5
mov ecx, dword [ebx + 4]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov ebp, 0x7fffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], ebp
call fcn.0044ee50
mov edx, dword [ebx + 0x10]
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x4c], 0x20000000
mov al, byte [ecx + edx]
inc ecx
test al, al
mov dword [esp + 0x3c], ecx
je 0x435f95
add ecx, 4
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00448c00
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x435f6a
mov eax, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
add ecx, edx
push eax
push ecx
mov ecx, dword [edi + 0x51c]
push ecx
lea ecx, [edi + 0x598]
call fcn.00436690
jmp 0x435fcd
mov ebp, 0x7fffffff
jmp 0x435fcd
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, 0x7fffffff
mov esi, dword [esi + 0x20]
test esi, esi
je 0x43601a
mov ecx, dword [esi + 0x34]
call fcn.0044ee50
cmp eax, 6
jl 0x43601a
lea ecx, [esi + 0x110]
call fcn.00455940
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x43601a
push ecx
call fcn.00401990
add esp, 4
cmp eax, 0xffffffff
je 0x43601a
mov edx, dword [edi + 0x51c]
push 0
push eax
push esi
push 0
push edx
lea ecx, [edi + 0x598]
call fcn.00436690
mov eax, dword [esp + 0x64]
cmp eax, 8
ja case.0x436027.4
jmp dword [eax*4 + 0x436184]
mov edi, 2
jmp 0x436048
mov edi, 4
jmp 0x436048
mov edi, 8
jmp 0x436048
mov edi, 1
mov ecx, dword [ebx + 0x28]
xor eax, eax
cmp ecx, eax
je case.0x436027.4
mov ecx, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], ebp
call fcn.0044ee50
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x58], ebp
mov ebp, 1
xor ecx, ecx
cmp edi, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], 0x20000000
jle 0x4360c2
lea eax, [ecx + esi]
add ecx, 2
xor edx, edx
mov dword [esp + 0x3c], ecx
mov dh, byte [eax + 1]
mov dl, byte [eax]
test dx, dx
je 0x4360bc
push 0
lea ecx, [esp + 0x3c]
call fcn.00448ee0
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
shl ebp, 1
cmp ebp, edi
jl 0x436093
lea eax, [ecx + esi]
add ecx, 2
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
test ax, ax
je case.0x436027.4
mov ecx, dword [ebx + 4]
push eax
call fcn.0044df40
mov edi, eax
test edi, edi
je case.0x436027.4
cmp byte [edi + 0xb], 5
jne case.0x436027.4
push 0x130
call fcn.0041ed90
add esp, 4
test eax, eax
je case.0x436027.4
mov ecx, eax
call fcn.0043f940
mov esi, eax
test esi, esi
je case.0x436027.4
mov ebx, dword [esi + 8]
add edi, 0x28
mov dword [esi + 0x1c], edi
mov edi, dword [esp + 0x18]
inc ebx
push esi
lea ecx, [esp + 0x3c]
mov dword [esi + 8], ebx
mov dword [esi + 0x10], edi
call fcn.00448ee0
mov edx, dword [edi + 0x1e4]
push esi
mov ecx, dword [edx + 8]
call fcn.00440c00
mov eax, dword [esi + 8]
dec eax
mov dword [esi + 8], eax
jne case.0x436027.4
mov ecx, esi
call fcn.0043f9d0
push esi
call fcn.0041eda0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8