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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x45a7c0]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x4c], eax
push ebp
mov ebp, dword [esp + 0x90]
test ebp, ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push esi
mov dword [esp + 0x60], eax
jbe 0x4148e5
movzx ecx, word [ebx + eax*2]
inc word [esp + ecx*2 + 0x44]
lea ecx, [esp + ecx*2 + 0x44]
inc eax
cmp eax, ebp
jb 0x4148d3
mov esi, dword [esp + 0x9c]
mov ecx, dword [esi]
mov eax, 0xf
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jmp 0x414900
cmp word [esp + eax*2 + 0x44], 0
jne 0x41490e
dec eax
cmp eax, 1
jae 0x414900
cmp ecx, eax
mov dword [esp + 0x18], eax
jbe 0x41491c
mov dword [esp + 0x10], eax
mov ecx, eax
test eax, eax
jne 0x414962
mov word [esp + 0xe], ax
mov eax, dword [esp + 0x98]
mov edx, dword [eax]
mov byte [esp + 0xc], 0x40
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax]
add edx, 4
mov dword [eax], edx
mov dword [edx], ecx
add dword [eax], 4
mov dword [esi], 1
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.004233fe
add esp, 0x7c
ret
mov esi, 1
cmp word [esp + esi*2 + 0x44], 0
jne 0x4149a9
cmp word [esp + esi*2 + 0x46], 0
jne 0x414999
cmp word [esp + esi*2 + 0x48], 0
jne 0x41499c
cmp word [esp + esi*2 + 0x4a], 0
jne 0x4149a1
cmp word [esp + esi*2 + 0x4c], 0
jne 0x4149a6
add esi, 5
cmp esi, 0xf
jbe 0x414967
jmp 0x4149a9
inc esi
jmp 0x4149a9
add esi, 2
jmp 0x4149a9
add esi, 3
jmp 0x4149a9
add esi, 4
cmp ecx, esi
jae 0x4149b1
mov dword [esp + 0x10], esi
mov edx, 1
mov eax, edx
jmp 0x4149c0
movzx ecx, word [esp + eax*2 + 0x44]
add edx, edx
sub edx, ecx
js 0x414a03
inc eax
cmp eax, 0xf
jbe 0x4149c0
test edx, edx
push edi
mov edi, dword [esp + 0x90]
jle 0x414a16
test edi, edi
je 0x4149ef
movzx eax, word [esp + 0x48]
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
je 0x414a16
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.004233fe
add esp, 0x7c
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.004233fe
add esp, 0x7c
ret
mov word [esp + 0x6a], 0
mov eax, 2
jmp 0x414a30
mov dx, word [esp + eax + 0x68]
add dx, word [esp + eax + 0x48]
mov cx, word [esp + eax + 0x4a]
add cx, dx
mov word [esp + eax + 0x6a], dx
mov word [esp + eax + 0x6c], cx
add eax, 4
cmp eax, 0x1e
jb 0x414a30
xor eax, eax
test ebp, ebp
jbe 0x414a8d
lea ebx, [ebx]
cmp word [ebx + eax*2], 0
je 0x414a88
movzx edx, word [ebx + eax*2]
movzx ecx, word [esp + edx*2 + 0x68]
mov edx, dword [esp + 0xa4]
mov word [edx + ecx*2], ax
movzx edx, word [ebx + eax*2]
inc word [esp + edx*2 + 0x68]
lea edx, [esp + edx*2 + 0x68]
inc eax
cmp eax, ebp
jb 0x414a60
mov eax, edi
sub eax, 0
mov edx, 0xffffffff
je 0x414ad4
dec eax
je 0x414ab2
mov dword [esp + 0x38], 0x454cf0
mov dword [esp + 0x3c], 0x454d30
mov dword [esp + 0x2c], edx
jmp 0x414aeb
mov eax, 0x454c70
sub eax, 0x202
mov dword [esp + 0x38], eax
mov eax, 0x454cb0
sub eax, 0x202
mov dword [esp + 0x2c], 0x100
jmp 0x414ae7
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x13
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov eax, 1
shl eax, cl
mov dword [esp + 0x30], edx
xor ebp, ebp
xor ebx, ebx
cmp edi, 1
lea edx, [eax - 1]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
jne 0x414b2e
cmp eax, 0x506
jae 0x414da6
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x24], eax
lea esp, [esp]
mov cl, byte [esp + 0x18]
mov esi, dword [esp + 0x24]
mov ax, word [esi]
mov edx, dword [esp + 0x2c]
sub cl, bl
mov byte [esp + 0x11], cl
movzx ecx, ax
cmp ecx, edx
jge 0x414b68
mov byte [esp + 0x10], 0
mov word [esp + 0x12], ax
jmp 0x414b95
jle 0x414b89
movzx eax, word [esi]
mov edx, dword [esp + 0x3c]
shl eax, 1
mov cl, byte [eax + edx]
mov edx, dword [esp + 0x38]
mov ax, word [eax + edx]
mov byte [esp + 0x10], cl
mov word [esp + 0x12], ax
jmp 0x414b95
mov byte [esp + 0x10], 0x60
mov word [esp + 0x12], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
sub ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, ebx
mov edi, ebp
shr edi, cl
mov ecx, dword [esp + 0x20]
lea esi, [eax*4]
add edi, edx
lea ecx, [ecx + edi*4]
mov edi, dword [esp + 0x10]
sub edx, eax
sub ecx, esi
test edx, edx
mov dword [ecx], edi
jne 0x414bc0
mov edx, dword [esp + 0x18]
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
test ebp, eax
je 0x414be6
lea esp, [esp]
shr eax, 1
test ebp, eax
jne 0x414be0
test eax, eax
je 0x414bf5
lea ecx, [eax - 1]
and ecx, ebp
add ecx, eax
mov ebp, ecx
jmp 0x414bf7
xor ebp, ebp
mov esi, dword [esp + 0x24]
add esi, 2
dec word [esp + edx*2 + 0x48]
cmp word [esp + edx*2 + 0x48], 0
mov dword [esp + 0x24], esi
jne 0x414c2d
cmp edx, dword [esp + 0x1c]
je 0x414cf9
mov ecx, dword [esp + 0x94]
mov edx, esi
movzx eax, word [edx]
movzx edx, word [ecx + eax*2]
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x14]
jbe 0x414b40
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
and esi, ebp
cmp esi, eax
mov dword [esp + 0x44], esi
je 0x414b40
test ebx, ebx
jne 0x414c55
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
sub ecx, ebx
mov dword [esp + 0x20], edx
mov eax, 1
lea edx, [ebx + ecx]
shl eax, cl
cmp edx, edi
jae 0x414c9c
lea esi, [esp + edx*2 + 0x48]
movzx edi, word [esi]
sub eax, edi
test eax, eax
jle 0x414c98
mov edi, dword [esp + 0x1c]
inc ecx
inc edx
add esi, 2
shl eax, 1
cmp edx, edi
jb 0x414c80
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov eax, 1
shl eax, cl
add edx, eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x90], 1
mov dword [esp + 0x28], edx
jne 0x414cc8
mov eax, edx
cmp eax, 0x506
jae 0x414da6
mov edx, esi
mov esi, dword [esp + 0x9c]
mov eax, dword [esi]
mov byte [eax + edx*4], cl
mov ecx, dword [esi]
mov al, byte [esp + 0x14]
mov byte [ecx + edx*4 + 1], al
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x30], edx
mov word [eax + edx*4 + 2], cx
jmp 0x414b40
mov edi, dword [esp + 0x9c]
mov al, dl
sub al, bl
test ebp, ebp
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], al
mov word [esp + 0x12], 0
je 0x414d75
mov esi, dword [esp + 0x20]
lea esp, [esp]
test ebx, ebx
je 0x414d44
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
and ecx, ebp
cmp ecx, eax
je 0x414d44
mov eax, dword [esp + 0x14]
mov esi, dword [edi]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov byte [esp + 0x11], al
mov edx, eax
mov ecx, ebx
mov eax, ebp
shr eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esi + eax*4], ecx
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
test ebp, eax
je 0x414d66
nop
shr eax, 1
test ebp, eax
jne 0x414d60
test eax, eax
je 0x414d75
lea ecx, [eax - 1]
and ecx, ebp
add ecx, eax
mov ebp, ecx
jne 0x414d20
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
lea eax, [edx*4]
mov edx, dword [esp + 0x14]
add ecx, eax
mov dword [edi], ecx
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.004233fe
add esp, 0x7c
ret
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
call fcn.004233fe
add esp, 0x7c
ret