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

Disassembly:
push 0xffffffffffffffff
push 0x43cfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x452440]
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.004224b0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x78], 0
test ebp, ebp
je 0x42425b
cmp word [edi + ebp*2 - 2], 0x5c
lea eax, [edi + ebp*2 - 2]
je 0x424205
cmp eax, edi
je 0x42425b
sub eax, 2
cmp word [eax], 0x5c
jne 0x4241f8
sub eax, edi
sar eax, 1
test eax, eax
jle 0x42425b
lea ecx, [ebp - 1]
cmp eax, ecx
jne 0x42425b
cmp ebp, 3
jne 0x424247
cmp word [edi + 2], 0x3a
jne 0x424247
push edi
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040554e
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.00423f50
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
call fcn.00422510
push edi
mov byte [esp + 0x7c], 1
mov esi, ebp
call fcn.004240e0
add esp, 4
test al, al
jne 0x424415
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x424350
test ebp, ebp
je 0x4244da
cmp word [edi + ebp*2 - 2], 0x5c
lea eax, [edi + ebp*2 - 2]
je 0x4242b7
cmp eax, edi
je 0x4244da
sub eax, 2
cmp word [eax], 0x5c
jne 0x4242a6
sub eax, edi
sar eax, 1
mov esi, eax
js 0x4244da
test esi, esi
je 0x4244da
cmp word [edi + esi*2 - 2], 0x3a
je 0x4244d3
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00423350
mov ebx, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
cmp ebx, ecx
je 0x42432b
xor edx, edx
mov word [edi], dx
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x1c], 0
call fcn.00422250
mov edi, dword [esp + 0x14]
mov edx, dword [ebx]
mov ecx, edi
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x424313
mov ebp, dword [ebx + 4]
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x2c]
push ecx
mov byte [esp + 0x7c], 1
call fcn.0040554e
push edi
call fcn.004240e0
add esp, 8
test al, al
je 0x424281
jmp 0x424415
xor eax, eax
push 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call fcn.00422250
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.00424b10
mov byte [esp + 0x78], 1
test al, al
jne 0x4243c7
mov edx, dword [esp + 0x60]
push edx
call fcn.0040554e
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x80], 0
call fcn.0040554e
push edi
mov dword [esp + 0x84], 0xffffffff
call fcn.0040554e
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 0x424408
mov edx, dword [esp + 0x60]
push edx
call fcn.0040554e
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x80], 0
call fcn.0040554e
push edi
mov dword [esp + 0x84], 0xffffffff
call fcn.0040554e
add esp, 0xc
jmp 0x4244fd
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0040554e
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.004225b0
mov ebp, dword [esp + 0x18]
cmp esi, ebp
mov edi, dword [esp + 0x14]
jge 0x42449a
movzx ecx, word [edi + esi*2 + 2]
lea eax, [edi + esi*2 + 2]
cmp cx, 0x5c
je 0x424452
mov edi, edi
test cx, cx
je 0x42445a
movzx ecx, word [eax + 2]
add eax, 2
cmp cx, 0x5c
jne 0x424440
sub eax, edi
sar eax, 1
mov esi, eax
jns 0x42445c
mov esi, ebp
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00423350
mov eax, dword [eax]
push eax
mov byte [esp + 0x7c], 4
call fcn.004240e0
mov ecx, dword [esp + 0x30]
test al, al
push ecx
sete bl
mov byte [esp + 0x80], 1
call fcn.0040554e
add esp, 8
test bl, bl
jne 0x4244da
cmp esi, ebp
jl 0x42442f
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x7c], 0
call fcn.0040554e
push edi
mov dword [esp + 0x80], 0xffffffff
call fcn.0040554e
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 0x4244df
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x7c], 0
call fcn.0040554e
push edi
mov dword [esp + 0x80], 0xffffffff
call fcn.0040554e
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