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

Disassembly:
sub esp, 0x98
mov eax, dword [0x4dd704]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x2c], eax
xor eax, eax
cmp ebp, eax
push esi
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
je 0x414ac1
mov edi, str.:memory:
mov esi, ebp
mov ecx, 9
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x28], 1
je 0x414ac5
mov dword [esp + 0x28], eax
mov esi, dword [ebx]
push 0x2c
mov dword [esp + 0x30], esi
call fcn.0040f120
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x1c], edi
je 0x414b4e
push 0x2c
push 0
push edi
call fcn.004858f0
add esp, 0xc
cmp dword [esp + 0x28], 0
mov byte [edi + 8], 0
mov dword [edi], ebx
mov dword [edi + 0x1c], edi
mov dword [edi + 0x20], 1
jne 0x414c4c
test ebp, ebp
je 0x414c4c
cmp byte [ebp], 0
je 0x414c4c
test dword [esp + 0xbc], 0x20000
je 0x414c4c
mov esi, dword [esi + 8]
add esi, 1
push esi
call fcn.0040f120
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
mov byte [edi + 9], 1
jne 0x414b58
push edi
call fcn.0040f3f0
add esp, 4
mov eax, 7
jmp 0x414ef9
mov eax, dword [esp + 0x30]
push ebx
push esi
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x24]
push eax
call ecx
add esp, 0x10
cmp dword [0x4df72c], ebp
jne 0x414b7a
mov dword [esp + 0x20], ebp
jmp 0x414b89
push 4
call dword [0x4df768]
add esp, 4
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
push edx
call fcn.00411c40
add esp, 4
cmp dword [0x4df72c], ebp
jne 0x414ba4
mov dword [esp + 0x24], ebp
jmp 0x414bb3
push 2
call dword [0x4df768]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00411c40
mov eax, dword [0x4e3dc0]
add esp, 4
cmp eax, ebp
mov esi, eax
je 0x414c1d
jmp 0x414bd0
mov ebp, dword [esi]
mov ecx, dword [ebp + 0x84]
mov eax, ebx
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414c00
test dl, dl
je 0x414bfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414c00
add eax, 2
add ecx, 2
test dl, dl
jne 0x414be0
xor eax, eax
jmp 0x414c05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x414c16
mov ecx, dword [esp + 0x2c]
cmp dword [ebp], ecx
je 0x414d73
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x414bd0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x414c33
push eax
call dword [0x4df778]
add esp, 4
push ebx
call fcn.0040f3f0
add esp, 4
test esi, esi
jne 0x414f18
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
push 0x50
call fcn.0040f120
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x414de7
push 0x50
push 0
push ebp
call fcn.004858f0
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc4]
add esp, 0xc
push ecx
push edx
push ebp
push esi
call fcn.0042ed30
add esp, 0x10
test eax, eax
mov dword [esp + 0x18], eax
jne 0x414eb7
mov eax, dword [ebp]
push eax
lea esi, [esp + 0x3c]
call fcn.0042e5e0
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jne 0x414eb7
mov eax, dword [ebp]
mov dword [ebp + 4], ebx
mov dword [eax + 0x8c], 0x414a20
mov dword [eax + 0x90], ebp
mov dword [edi + 4], ebp
mov edi, dword [ebp]
xor ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov dl, byte [edi + 0xc]
xor eax, eax
mov byte [ebp + 0x10], dl
mov ah, byte [esp + 0x48]
movzx dx, byte [esp + 0x49]
lea esi, [ebp + 0x14]
or ax, dx
cmp ax, 0x200
mov word [esi], ax
jb 0x414df4
cmp ax, 0x8000
ja 0x414df4
movzx eax, ax
lea edx, [eax - 1]
test eax, edx
jne 0x414df4
mov bl, byte [esp + 0x4c]
mov byte [ebp + 0x11], 1
movzx eax, byte [esp + 0x6c]
movzx ecx, byte [esp + 0x6d]
movzx edx, byte [esp + 0x6e]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x6f]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
setne dl
mov byte [ebp + 0x12], dl
movzx eax, byte [esp + 0x78]
movzx ecx, byte [esp + 0x79]
movzx edx, byte [esp + 0x7a]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x7b]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
setne dl
mov byte [ebp + 0x13], dl
jmp 0x414e0b
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 4]
sub eax, 1
js 0x414da5
mov ecx, dword [ebp + 8]
mov edx, eax
shl edx, 4
lea ecx, [ecx + edx + 4]
jmp 0x414d90
mov edx, dword [ecx]
test edx, edx
je 0x414d9b
cmp dword [edx + 4], esi
je 0x414db1
sub eax, 1
sub ecx, 0x10
test eax, eax
jge 0x414d90
mov dword [edi + 4], esi
add dword [esi + 0x38], 1
jmp 0x414c21
mov edx, dword [esp + 0x24]
push edx
call fcn.00411c80
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00411c80
add esp, 4
push ebx
call fcn.0040f3f0
add esp, 4
push edi
call fcn.0040f3f0
add esp, 4
mov eax, 0x13
jmp 0x414ef9
mov dword [esp + 0x18], 7
jmp 0x414ec7
cmp dword [esp + 0x30], ecx
mov word [esi], cx
je 0x414e09
cmp dword [esp + 0x28], ecx
jne 0x414e09
mov byte [ebp + 0x12], cl
mov byte [ebp + 0x13], cl
xor bl, bl
movzx eax, bl
push eax
push esi
call fcn.0042e510
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
jne 0x414eb3
mov dx, word [esi]
mov eax, dword [esp + 0x1c]
movzx cx, bl
sub dx, cx
mov word [ebp + 0x16], dx
cmp byte [eax + 9], 0
je 0x414f12
mov dword [ebp + 0x38], 1
cmp dword [0x4df72c], 0
jne 0x414e7c
xor esi, esi
push esi
call fcn.00411c40
mov edx, dword [0x4e3dc0]
add esp, 4
push esi
mov dword [ebp + 0x3c], edx
mov dword [0x4e3dc0], ebp
call fcn.00411c80
mov edi, dword [esp + 0x20]
add esp, 4
jmp 0x414f14
push 2
call dword [0x4df768]
add esp, 4
cmp dword [0x4df72c], 0
mov esi, eax
je 0x414e52
push 0
call dword [0x4df768]
add esp, 4
test eax, eax
mov dword [ebp + 0x30], eax
jne 0x414e52
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 7
mov byte [ecx + 0x1e], al
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp]
test eax, eax
je 0x414ec7
push eax
call fcn.0042e750
add esp, 4
push ebp
call fcn.0040f3f0
add esp, 4
push edi
call fcn.0040f3f0
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x414ef5
push eax
call dword [0x4df778]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00485605
add esp, 0x98
ret
mov edi, eax
mov ebp, dword [esp + 0x14]
cmp byte [edi + 9], 0
je 0x414fa7
xor edx, edx
cmp dword [ebp + 4], edx
jle 0x414fa7
mov ecx, dword [ebp + 8]
add ecx, 4
nop
mov eax, dword [ecx]
test eax, eax
je 0x414f3c
cmp byte [eax + 9], 0
jne 0x414f4f
add edx, 1
add ecx, 0x10
cmp edx, dword [ebp + 4]
jl 0x414f30
mov edx, dword [esp + 0x34]
mov dword [edx], edi
jmp 0x414ee3
cmp dword [eax + 0x18], 0
je 0x414f5e
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x18], 0
jne 0x414f55
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jae 0x414f7e
mov edx, dword [esp + 0x34]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [eax + 0x18], edi
mov dword [edx], edi
jmp 0x414ee3
cmp dword [eax + 0x14], 0
je 0x414f94
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], edx
jae 0x414f94
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x414f84
mov ecx, dword [eax + 0x14]
test ecx, ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
je 0x414fa4
mov dword [ecx + 0x18], edi
mov dword [eax + 0x14], edi
mov edx, dword [esp + 0x34]
mov dword [edx], edi
jmp 0x414ee3