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

Disassembly:
push 0xffffffffffffffff
push 0x40f432
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4140d0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4140d0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edx, dword [esp + 0xa0]
xor edi, edi
xor eax, eax
mov word [esp + 0x58], ax
mov ebx, 7
mov eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
lea esi, [eax + 2]
jmp 0x403140
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x403140
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x5c]
call fcn.004013f0
xor ecx, ecx
mov dword [esp + 0x98], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], cx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xa0], 1
call fcn.00402c00
add esp, 8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 2
call fcn.004012f0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x4031b7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00404828
add esp, 4
xor edx, edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], dx
push 1
push edi
mov bl, 3
push 0x41045c
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], bl
call fcn.004024b0
mov ebp, eax
push ebp
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 4
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x403227
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00404828
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x78]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.004012f0
lea ecx, [esp + 0x30]
push ecx
call fcn.004028d0
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 5
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x403289
mov edx, dword [esp + 0x18]
push edx
call fcn.00404828
add esp, 4
push 0xffffffffffffffff
inc ebp
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 6
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x4032ca
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00404828
add esp, 4
push 1
push edi
push 0x41045c
lea ecx, [esp + 0x44]
call fcn.004024b0
mov ebp, eax
push ebp
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 7
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x40331c
mov eax, dword [esp + 0x18]
push eax
call fcn.00404828
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x78]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.004012f0
lea ecx, [esp + 0x30]
push ecx
call fcn.004028d0
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 8
call fcn.004026a0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x40337e
mov edx, dword [esp + 0x18]
push edx
call fcn.00404828
add esp, 4
push 0xffffffffffffffff
inc ebp
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 9
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x4033bf
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00404828
add esp, 4
push 1
push edi
push 0x41045c
lea ecx, [esp + 0x44]
call fcn.004024b0
mov ebp, eax
push ebp
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 0xa
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x403411
mov eax, dword [esp + 0x18]
push eax
call fcn.00404828
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x78]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.004012f0
lea ecx, [esp + 0x30]
push ecx
call fcn.004028d0
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 0xb
call fcn.004026a0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x403473
mov edx, dword [esp + 0x18]
push edx
call fcn.00404828
add esp, 4
push 0xffffffffffffffff
inc ebp
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 0xc
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x4034b4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00404828
add esp, 4
push 1
push edi
push 0x41045c
lea ecx, [esp + 0x44]
call fcn.004024b0
mov ebp, eax
push ebp
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 0xd
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x403506
mov eax, dword [esp + 0x18]
push eax
call fcn.00404828
add esp, 4
push 0xffffffffffffffff
inc ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 0xe
call fcn.004026a0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x403547
mov edx, dword [esp + 0x18]
push edx
call fcn.00404828
add esp, 4
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
call fcn.004012f0
xor ebp, ebp
cmp dword [esp + 0x4c], edi
jbe 0x403613
push 2
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00402aa0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 0xf
call fcn.004012f0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x4035a4
mov edx, dword [esp + 0x18]
push edx
call fcn.00404828
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x78]
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push edx
mov word [ecx + 4], ax
call fcn.004012f0
lea eax, [esp + 0x30]
push eax
call fcn.004028d0
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 0x10
call fcn.004026a0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x2c], esi
jb 0x403606
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00404828
add esp, 4
add ebp, 2
cmp ebp, dword [esp + 0x4c]
jb 0x403564
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x74]
mov ecx, ebp
cmp ebx, esi
jae 0x403628
lea ecx, [esp + 0x74]
mov edx, dword [esp + 0x34]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x403630
cmp ebx, esi
jb 0x40364e
push ebp
call fcn.00404828
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], dx
cmp dword [esp + 0x50], esi
jb 0x40367b
mov eax, dword [esp + 0x3c]
push eax
call fcn.00404828
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], cx
cmp dword [esp + 0x6c], esi
jb 0x40369d
mov edx, dword [esp + 0x58]
push edx
call fcn.00404828
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00404dbf
add esp, 0x88
ret