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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [0x5801d4]
xor eax, esp
mov dword [esp + 0x890], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [0x58273c]
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov byte [esp + 0x60], 0
mov dword [esp + 0x44], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x1c], ecx
cmp dword [0x58272c], esi
jne 0x414da4
cmp dword [0x5b3528], esi
je 0x414da4
mov eax, dword [0x5b2f68]
mov ebx, dword [eax + 0x15d0]
sub ebx, 1
js 0x414da4
mov ecx, ebx
imul ecx, ecx, 0x54
mov dword [esp + 0x18], ecx
jmp 0x414d39
mov eax, dword [0x5b2f68]
mov ecx, dword [esp + 0x18]
cmp ebx, esi
jl 0x414db8
cmp ebx, dword [eax + 0x15d0]
jge 0x414db8
mov esi, dword [eax + 0x15cc]
mov eax, dword [esp + 0x10]
add esi, ecx
mov ecx, 0x15
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x20]
push edx
push eax
call fcn.005183ef
add esp, 8
test eax, eax
je 0x414d7c
sub dword [esp + 0x18], 0x54
dec ebx
xor esi, esi
test ebx, ebx
jge 0x414d30
jmp 0x414da4
cmp dword [0x58273c], 0
lea ecx, [esp + 0x20]
mov dword [0x582714], ecx
jne 0x414da2
cmp dword [0x582740], 0
jne 0x414da2
mov edx, dword [esp + 0x3c]
mov dword [0x58273c], edx
xor esi, esi
call fcn.004ed958
cmp eax, esi
je 0x414dbd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x414dbf
call fcn.004e0962
xor eax, eax
mov ebx, dword [esp + 0x10]
push 0x208
lea ecx, [esp + 0x48c]
push ecx
push ebx
push eax
call fcn.004f06df
test eax, eax
je 0x414de2
lea ebx, [esp + 0x488]
lea edx, [esp + 0x78]
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x414df0
mov eax, dword [0x58273c]
push ebx
cmp eax, 0x186a0
je 0x414e37
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov edi, eax
cmp edi, esi
jne 0x414e46
mov eax, dword [0x58273c]
cmp dword [esp + 0x10], eax
je 0x414e8f
cmp eax, 0x186a0
jne 0x414e8f
push ebx
mov ecx, dword [esp + 0x18]
call fcn.00414330
mov edi, eax
cmp edi, esi
je 0x414e8f
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x78]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414e76
cmp dx, si
je 0x414e72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414e76
add eax, 4
add ecx, 4
cmp dx, si
jne 0x414e50
xor eax, eax
jmp 0x414e7b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x414e8f
mov eax, dword [edi]
mov edx, dword [eax + 0x54]
push 1
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x89c]
mov dword [0x58273c], eax
mov eax, edi
pop edi
mov dword [0x582714], esi
pop esi
pop ebx
xor ecx, esp
call fcn.0051767d
mov esp, ebp
pop ebp
ret 4