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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x610304]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
push edi
mov edi, dword [esp + 0xa0]
mov esi, ecx
mov dword [esp + 0x14], eax
xor eax, eax
xor ecx, ecx
test edi, edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
jbe 0x41e435
jmp 0x41e420
movzx eax, word [esi + ecx*2]
add word [esp + eax*2 + 0x54], 1
lea eax, [esp + eax*2 + 0x54]
add ecx, 1
cmp ecx, edi
jb 0x41e420
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov ecx, 0xf
cmp word [esp + ecx*2 + 0x54], 0
jne 0x41e450
sub ecx, 1
cmp ecx, 1
jae 0x41e440
cmp eax, ecx
mov dword [esp + 0x1c], ecx
jbe 0x41e45e
mov dword [esp + 0x10], ecx
mov eax, ecx
test ecx, ecx
jne 0x41e4a7
mov word [esp + 0xe], cx
mov ecx, dword [ebp]
mov byte [esp + 0xc], 0x40
mov byte [esp + 0xd], 1
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
add dword [ebp], 4
mov ecx, dword [ebp]
pop edi
mov dword [ecx], eax
add dword [ebp], 4
pop esi
mov dword [edx], 1
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00584870
add esp, 0x8c
ret
push ebx
mov ebx, 1
cmp ecx, ebx
jbe 0x41e4c0
cmp word [esp + ebx*2 + 0x58], 0
jne 0x41e4c0
add ebx, 1
cmp ebx, ecx
jb 0x41e4b1
cmp eax, ebx
jae 0x41e4c8
mov dword [esp + 0x14], ebx
mov eax, 1
mov edx, eax
nop
movzx edi, word [esp + edx*2 + 0x58]
add eax, eax
sub eax, edi
js 0x41e4f6
add edx, 1
cmp edx, 0xf
jbe 0x41e4d0
test eax, eax
jle 0x41e4fe
cmp dword [esp + 0xa0], 0
je 0x41e4f6
cmp ecx, 1
je 0x41e4fe
or eax, 0xffffffff
jmp 0x41e86e
mov word [esp + 0x7a], 0
mov ecx, 2
lea ebx, [ebx]
mov dx, word [esp + ecx + 0x78]
add dx, word [esp + ecx + 0x58]
add ecx, 2
cmp ecx, 0x1e
mov word [esp + ecx + 0x78], dx
jb 0x41e510
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
jbe 0x41e561
cmp word [esi + ecx*2], 0
je 0x41e55a
movzx edx, word [esi + ecx*2]
movzx edx, word [esp + edx*2 + 0x78]
mov word [edi + edx*2], cx
movzx edx, word [esi + ecx*2]
add word [esp + edx*2 + 0x78], 1
lea edx, [esp + edx*2 + 0x78]
add ecx, 1
cmp ecx, eax
jb 0x41e538
mov esi, dword [esp + 0xa0]
mov ecx, esi
sub ecx, 0
mov edx, 0xffffffff
je 0x41e5b7
sub ecx, 1
je 0x41e58f
mov dword [esp + 0x38], 0x5cb870
mov dword [esp + 0x3c], 0x5cb8b0
mov dword [esp + 0x30], edx
jmp 0x41e5c7
mov ecx, 0x5cb7f0
sub ecx, 0x202
mov dword [esp + 0x38], ecx
mov ecx, 0x5cb830
sub ecx, 0x202
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], pe_nt_image_headers32
jmp 0x41e5c7
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], 0x13
mov ecx, dword [ebp]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, 1
shl edx, cl
mov eax, ebx
xor ebx, ebx
cmp esi, 1
mov ebp, edx
lea ecx, [edx - 1]
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], ecx
jne 0x41e607
cmp edx, 0x354
jmp 0x41e612
cmp esi, 2
jne 0x41e618
cmp edx, 0x250
jae 0x41e869
mov dword [esp + 0x24], edi
jmp 0x41e624
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
movzx ecx, word [esi]
mov edi, dword [esp + 0x30]
mov dl, al
sub dl, bl
mov byte [esp + 0x11], dl
movzx edx, cx
cmp edx, edi
jge 0x41e64a
mov byte [esp + 0x10], 0
mov word [esp + 0x12], cx
jmp 0x41e677
jle 0x41e66b
movzx ecx, word [esi]
mov edx, dword [esp + 0x3c]
add ecx, ecx
mov dl, byte [ecx + edx]
mov byte [esp + 0x10], dl
mov edx, dword [esp + 0x38]
mov cx, word [ecx + edx]
mov word [esp + 0x12], cx
jmp 0x41e677
mov byte [esp + 0x10], 0x60
mov word [esp + 0x12], 0
mov ecx, eax
sub ecx, ebx
mov edx, ebp
mov ebp, dword [esp + 0x28]
mov esi, 1
shl esi, cl
mov ecx, ebx
shr ebp, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
lea edi, [esi*4]
add ebp, edx
lea ecx, [ecx + ebp*4]
mov ebp, dword [esp + 0x10]
sub edx, esi
sub ecx, edi
test edx, edx
mov dword [ecx], ebp
jne 0x41e6a4
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x28]
test ecx, edx
je 0x41e6c6
shr edx, 1
test ecx, edx
jne 0x41e6c0
test edx, edx
je 0x41e6d3
lea esi, [edx - 1]
and esi, ecx
add esi, edx
jmp 0x41e6d5
xor esi, esi
add word [esp + eax*2 + 0x58], 0xffff
movzx ecx, word [esp + eax*2 + 0x58]
add dword [esp + 0x24], 2
test cx, cx
mov dword [esp + 0x28], esi
jne 0x41e708
cmp eax, dword [esp + 0x20]
je 0x41e7db
mov edx, dword [esp + 0x24]
movzx eax, word [edx]
mov ecx, dword [esp + 0x54]
movzx eax, word [ecx + eax*2]
cmp eax, dword [esp + 0x14]
jbe 0x41e620
mov edi, dword [esp + 0x48]
and edi, esi
cmp edi, dword [esp + 0x2c]
mov dword [esp + 0x44], edi
je 0x41e620
test ebx, ebx
jne 0x41e72e
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
lea edx, [edx + ecx*4]
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0x1c], edx
mov edx, 1
lea esi, [ebx + ecx]
shl edx, cl
cmp esi, dword [esp + 0x20]
jae 0x41e773
lea edi, [esp + esi*2 + 0x58]
movzx ebp, word [edi]
sub edx, ebp
test edx, edx
jle 0x41e76f
add esi, 1
add ecx, 1
add edi, 2
add edx, edx
cmp esi, dword [esp + 0x20]
jb 0x41e755
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xa0]
mov ebp, 1
shl ebp, cl
add esi, ebp
cmp edx, 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], esi
jne 0x41e79c
cmp esi, 0x354
jmp 0x41e7a7
cmp edx, 2
jne 0x41e7ad
cmp esi, 0x250
jae 0x41e869
mov esi, edi
mov edi, dword [esp + 0x34]
mov edx, dword [edi]
mov byte [edx + esi*4], cl
mov ecx, dword [edi]
mov dl, byte [esp + 0x14]
mov byte [ecx + esi*4 + 1], dl
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
sub edx, ecx
sar edx, 2
mov dword [esp + 0x2c], esi
mov word [ecx + esi*4 + 2], dx
jmp 0x41e624
mov ebp, dword [esp + 0x34]
mov cl, al
sub cl, bl
test esi, esi
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], cl
mov word [esp + 0x12], 0
je 0x41e84d
mov edi, dword [esp + 0x1c]
jmp 0x41e800
test ebx, ebx
je 0x41e81d
mov edx, dword [esp + 0x48]
and edx, esi
cmp edx, dword [esp + 0x2c]
je 0x41e81d
mov eax, dword [esp + 0x14]
mov edi, dword [ebp]
xor ebx, ebx
mov byte [esp + 0x11], al
mov ecx, ebx
mov edx, esi
shr edx, cl
mov ecx, dword [esp + 0x10]
mov dword [edi + edx*4], ecx
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
test esi, edx
je 0x41e83e
shr edx, 1
test esi, edx
jne 0x41e838
test edx, edx
je 0x41e84d
lea ecx, [edx - 1]
and ecx, esi
add ecx, edx
mov esi, ecx
jne 0x41e800
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea eax, [edx*4]
add dword [ebp], eax
mov edx, dword [esp + 0x50]
mov dword [edx], ecx
xor eax, eax
jmp 0x41e86e
mov eax, 1
mov ecx, dword [esp + 0x98]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00584870
add esp, 0x8c
ret