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

Disassembly:
push 0xffffffffffffffff
push 0x4929c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x18]
call fcn.004225c0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x78], ebp
cmp ebx, ebp
je 0x435a91
cmp word [edi + ebx*2 - 2], 0x5c
lea eax, [edi + ebx*2 - 2]
je 0x435a43
cmp eax, edi
je 0x435a91
sub eax, 2
cmp word [eax], 0x5c
jne 0x435a36
sub eax, edi
sar eax, 1
cmp eax, ebp
jle 0x435a91
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x435a91
cmp ebx, 3
jne 0x435a7d
cmp word [edi + 2], 0x3a
jne 0x435a7d
push edi
call fcn.00446995
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004351b0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
call fcn.00422620
push edi
mov byte [esp + 0x7c], 1
mov esi, ebx
call fcn.00435010
add esp, 4
test al, al
jne 0x435c2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x435b8f
cmp ebx, ebp
je 0x435cdd
cmp word [edi + ebx*2 - 2], 0x5c
lea eax, [edi + ebx*2 - 2]
je 0x435af1
lea esp, [esp]
cmp eax, edi
je 0x435cdd
sub eax, 2
cmp word [eax], 0x5c
jne 0x435ae0
sub eax, edi
sar eax, 1
mov esi, eax
js 0x435cdd
cmp esi, ebp
je 0x435cdd
cmp word [edi + esi*2 - 2], 0x3a
je 0x435cd6
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00422f50
mov ebp, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
cmp ebp, ecx
je 0x435b68
xor edx, edx
mov word [edi], dx
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x1c], 0
call fcn.00421e50
mov edi, dword [esp + 0x14]
mov edx, dword [ebp]
mov ecx, edi
mov edi, edi
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x435b50
mov ebx, dword [ebp + 4]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x2c]
push ecx
mov byte [esp + 0x7c], 1
call fcn.00446995
push edi
call fcn.00435010
add esp, 8
test al, al
jne 0x435c2c
xor ebp, ebp
jmp 0x435ab7
push 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
call fcn.00421e50
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.00436460
test al, al
jne 0x435bec
mov edx, dword [esp + 0x60]
push edx
call fcn.00446995
mov eax, dword [esp + 0x24]
push eax
call fcn.00446995
push edi
call fcn.00446995
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x58]
shr ecx, 4
test cl, 1
jne 0x435c1a
mov edx, dword [esp + 0x60]
push edx
call fcn.00446995
mov eax, dword [esp + 0x24]
push eax
call fcn.00446995
push edi
call fcn.00446995
add esp, 0xc
jmp 0x435cf0
mov ecx, dword [esp + 0x60]
push ecx
mov byte [esp + 0x7c], 1
call fcn.00446995
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.004226c0
mov ebp, dword [esp + 0x18]
cmp esi, ebp
mov edi, dword [esp + 0x14]
jge 0x435cad
jmp 0x435c50
movzx ecx, word [edi + esi*2 + 2]
lea eax, [edi + esi*2 + 2]
cmp cx, 0x5c
je 0x435c72
nop
test cx, cx
je 0x435c7a
movzx ecx, word [eax + 2]
add eax, 2
cmp cx, 0x5c
jne 0x435c60
sub eax, edi
sar eax, 1
mov esi, eax
jns 0x435c7c
mov esi, ebp
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00422f50
mov eax, dword [eax]
push eax
call fcn.00435010
mov ecx, dword [esp + 0x30]
test al, al
push ecx
sete bl
call fcn.00446995
add esp, 8
test bl, bl
jne 0x435cdd
cmp esi, ebp
jl 0x435c50
mov eax, dword [esp + 0x20]
push eax
call fcn.00446995
push edi
call fcn.00446995
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x435ce2
mov edx, dword [esp + 0x20]
push edx
call fcn.00446995
push edi
call fcn.00446995
add esp, 8
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret