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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x58313c]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
push esi
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], ebx
xor ecx, ecx
mov word [esp + eax + 0x58], cx
add eax, 2
cmp eax, 0x1e
jbe 0x41e046
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x41e06e
movzx eax, word [edx + ecx*2]
inc ecx
inc word [esp + eax*2 + 0x58]
cmp ecx, esi
jb 0x41e060
mov ecx, dword [ebx]
lea eax, [esp + 0x72]
mov ebp, 0xf
nop dword [eax]
cmp word [eax + 4], 0
jne 0x41e0bf
cmp word [eax + 2], 0
jne 0x41e0be
cmp word [eax], 0
jne 0x41e0b9
cmp word [eax - 2], 0
jne 0x41e0b4
cmp word [eax - 4], 0
jne 0x41e0af
sub ebp, 5
sub eax, 0xa
cmp ebp, 1
jae 0x41e080
jmp 0x41e0bf
sub ebp, 4
jmp 0x41e0bf
sub ebp, 3
jmp 0x41e0bf
sub ebp, 2
jmp 0x41e0bf
dec ebp
cmp ecx, ebp
mov eax, ebp
cmovbe eax, ecx
test ebp, ebp
jne 0x41e0f1
mov ecx, dword [edi]
mov dword [esp + 0x10], 0x140
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
add dword [edi], 4
mov ecx, dword [edi]
mov dword [ecx], eax
add dword [edi], 4
xor eax, eax
mov dword [ebx], 1
jmp 0x41e526
mov ebx, 1
mov dword [esp + 0x14], ebx
nop word [eax + eax]
cmp word [esp + ebx*2 + 0x58], 0
jne 0x41e14a
cmp word [esp + ebx*2 + 0x5a], 0
jne 0x41e145
cmp word [esp + ebx*2 + 0x5c], 0
jne 0x41e140
cmp word [esp + ebx*2 + 0x5e], 0
jne 0x41e13b
cmp word [esp + ebx*2 + 0x60], 0
jne 0x41e136
add ebx, 5
mov dword [esp + 0x14], ebx
cmp ebx, 0xf
jbe 0x41e100
jmp 0x41e14a
add ebx, 4
jmp 0x41e146
add ebx, 3
jmp 0x41e146
add ebx, 2
jmp 0x41e146
inc ebx
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov ecx, ebx
mov edx, 1
cmovae ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, edx
nop dword [eax]
movzx eax, word [esp + ecx*2 + 0x58]
add edx, edx
sub edx, eax
js 0x41e523
inc ecx
cmp ecx, 0xf
jbe 0x41e160
test edx, edx
mov edx, dword [esp + 0xa0]
jle 0x41e191
test edx, edx
je 0x41e523
cmp ebp, 1
jne 0x41e523
xor eax, eax
mov ecx, 2
mov word [esp + 0x7a], ax
nop dword [eax]
mov ax, word [esp + ecx + 0x78]
add ax, word [esp + ecx + 0x58]
mov word [esp + ecx + 0x7a], ax
add ecx, 2
cmp ecx, 0x1e
jb 0x41e1a0
xor ecx, ecx
test esi, esi
je 0x41e1f0
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
movzx eax, word [edi + ecx*2]
test ax, ax
je 0x41e1e0
movzx eax, word [esp + eax*2 + 0x78]
mov word [edx + eax*2], cx
movzx eax, word [edi + ecx*2]
inc word [esp + eax*2 + 0x78]
inc ecx
cmp ecx, esi
jb 0x41e1c5
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x24]
mov eax, edx
sub eax, 0
je 0x41e29f
sub eax, 1
je 0x41e244
mov edi, dword [edi]
mov eax, 1
shl eax, cl
mov ecx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
or eax, 0xffffffff
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], 0x551b48
mov dword [esp + 0x3c], 0x551b88
lea edi, [ecx - 1]
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], eax
cmp edx, 1
jne 0x41e2d5
jmp 0x41e28d
mov edx, 0x551ac4
mov dword [esp + 0x14], ebx
sub edx, 0x202
mov eax, 0x100
mov dword [esp + 0x38], eax
mov eax, 1
mov dword [esp + 0x40], edx
mov edx, 0x551b04
sub edx, 0x202
shl eax, cl
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], edx
lea eax, [ecx - 1]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp ecx, 0x5b0
jb 0x41e2d5
mov eax, 1
jmp 0x41e526
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, 1
shl eax, cl
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0x13
lea eax, [ecx - 1]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], eax
xor esi, esi
mov dword [esp + 0x44], 0xffffffff
xor edx, edx
mov dword [esp + 0x18], edx
mov al, bl
sub al, dl
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x28]
movzx eax, word [eax]
mov ecx, eax
cmp ecx, dword [esp + 0x38]
jge 0x41e303
mov byte [esp + 0x10], 0
jmp 0x41e321
jle 0x41e31a
mov eax, dword [esp + 0x3c]
mov al, byte [eax + ecx*2]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x40]
mov ax, word [eax + ecx*2]
jmp 0x41e321
mov byte [esp + 0x10], 0x60
xor eax, eax
mov ecx, ebx
mov word [esp + 0x12], ax
sub ecx, edx
mov edi, 1
mov edx, dword [esp + 0x20]
shl edi, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
lea eax, [edi*4]
mov dword [esp + 0x48], eax
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x1c]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x10]
nop dword [eax]
sub ecx, dword [esp + 0x48]
mov dword [ecx], eax
sub edx, edi
jne 0x41e360
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test esi, edx
je 0x41e37e
shr edx, 1
test esi, edx
jne 0x41e378
test edx, edx
je 0x41e38b
lea eax, [edx - 1]
and esi, eax
add esi, edx
jmp 0x41e38d
xor esi, esi
mov eax, dword [esp + 0x28]
mov ecx, 0xffff
add eax, 2
add word [esp + ebx*2 + 0x58], cx
mov dword [esp + 0x28], eax
jne 0x41e3bb
cmp ebx, ebp
je 0x41e498
movzx eax, word [eax]
mov ecx, dword [esp + 0x4c]
movzx ebx, word [ecx + eax*2]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
cmp ebx, ecx
jbe 0x41e2e5
mov eax, dword [esp + 0x30]
and eax, esi
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x44]
je 0x41e2e5
mov edi, dword [esp + 0x50]
test edx, edx
cmove edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
lea ecx, [ecx + edi*4]
mov dword [esp + 0x1c], ecx
mov ecx, ebx
sub ecx, edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x41e43b
lea ecx, [esp + 0x58]
mov edi, ebx
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x20]
movzx eax, word [ecx]
sub edx, eax
test edx, edx
jle 0x41e42b
inc edi
inc ebx
add ecx, 2
add edx, edx
cmp edi, ebp
jb 0x41e417
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov edi, 1
shl edi, cl
add edx, edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0xa0], 1
mov dword [esp + 0x2c], edx
jne 0x41e466
cmp edx, 0x5b0
jae 0x41e295
mov edx, dword [esp + 0x34]
mov edi, eax
mov dword [esp + 0x44], edi
mov eax, dword [edx]
mov byte [eax + edi*4], cl
mov eax, dword [edx]
mov ecx, dword [esp + 0x24]
mov byte [eax + edi*4 + 1], cl
mov ecx, dword [edx]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub eax, ecx
sar eax, 2
mov word [ecx + edi*4 + 2], ax
jmp 0x41e2e5
mov ebp, dword [esp + 0x34]
xor eax, eax
mov byte [esp + 0x10], 0x40
mov word [esp + 0x12], ax
test esi, esi
je 0x41e507
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x41e4d7
mov eax, dword [esp + 0x30]
and eax, esi
cmp eax, edi
je 0x41e4d7
mov ebx, dword [esp + 0x24]
xor ecx, ecx
mov eax, dword [ebp]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x11], bl
mov eax, dword [esp + 0x10]
mov edx, esi
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov dword [ecx + edx*4], eax
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test esi, eax
je 0x41e4fa
shr eax, 1
test esi, eax
jne 0x41e4f4
test eax, eax
je 0x41e507
lea ecx, [eax - 1]
and esi, ecx
add esi, eax
jne 0x41e4b0
mov ecx, dword [esp + 0x2c]
lea eax, [ecx*4]
mov ecx, dword [esp + 0x54]
add dword [ebp], eax
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
xor eax, eax
jmp 0x41e526
or eax, 0xffffffff
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00512b0b
add esp, 0x8c
ret