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

Disassembly:
sub esp, 0x80
mov eax, dword [0x456c74]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
mov edi, edx
xor ebp, ebp
mov ebx, ecx
lea esi, [esp + 0x58]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], ebp
call fcn.0041e780
cmp eax, ebp
jne 0x41f2fc
mov eax, dword [esp + 0x5c]
cmp eax, ebp
ja 0x41edf3
mov esi, dword [esp + 0x58]
cmp esi, 0x80000000
jae 0x41edf3
cmp eax, ebp
ja 0x41edf3
cmp esi, 0x4000000
jb 0x41edfd
mov eax, 0x80004001
jmp 0x41f2fc
cmp esi, ebp
mov dword [edi], esi
jne 0x41ef75
mov dword [edi + 4], ebp
cmp esi, ebp
jbe 0x41ee26
xor ecx, ecx
mov edx, esi
mov eax, dword [edi + 4]
lea eax, [ecx + eax + 0x10]
add ecx, 0x18
sub edx, 1
mov dword [eax], ebp
mov dword [eax + 4], ebp
jne 0x41ee12
cmp esi, ebp
mov dword [esp + 0x18], ebp
jbe 0x41f186
mov dword [esp + 0x34], ebp
mov eax, dword [edi + 4]
add eax, dword [esp + 0x34]
mov esi, dword [ebx + 4]
cmp esi, ebp
mov dword [esp + 0x1c], eax
je 0x41f17c
mov eax, dword [ebx]
add esi, 0xffffffff
mov dword [ebx + 4], esi
mov cl, byte [eax]
movzx edx, cl
add eax, 1
and edx, 0xf
mov byte [esp + 0x17], cl
mov dword [ebx], eax
mov ebp, edx
mov edi, 0
jbe 0x41ee8e
test esi, esi
je 0x41f17c
sub esi, 1
mov dword [ebx + 4], esi
mov dl, byte [eax]
mov byte [esp + edi + 0x7c], dl
add eax, 1
add edi, 1
cmp edi, ebp
mov dword [ebx], eax
jb 0x41ee6e
cmp ebp, 8
ja 0x41edf3
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp ebp, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
jbe 0x41eed5
mov dword [esp + 0x38], edx
lea edi, [esp + ebp + 0x7b]
mov esi, eax
movzx eax, byte [edi]
mov ecx, dword [esp + 0x38]
cdq
call fcn.00444f70
or dword [esi + 8], eax
or dword [esi + 0xc], edx
add dword [esp + 0x38], 8
sub edi, 1
sub ebp, 1
jne 0x41eeb1
mov cl, byte [esp + 0x17]
test cl, 0x10
je 0x41ef9b
lea esi, [esp + 0x68]
call fcn.0041e780
xor ebp, ebp
cmp eax, ebp
jne 0x41f2fc
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
ja 0x41edf3
mov eax, dword [esp + 0x68]
jb 0x41ef0e
cmp eax, 0x80000000
jae 0x41edf3
cmp ecx, ebp
ja 0x41edf3
jb 0x41ef23
cmp eax, 0x4000000
jae 0x41edf3
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x60]
mov dword [edi], eax
call fcn.0041e780
cmp eax, ebp
jne 0x41f2fc
mov ecx, dword [esp + 0x64]
cmp ecx, ebp
ja 0x41edf3
mov eax, dword [esp + 0x60]
jb 0x41ef57
cmp eax, 0x80000000
jae 0x41edf3
cmp ecx, ebp
ja 0x41edf3
jb 0x41ef6c
cmp eax, 0x4000000
jae 0x41edf3
mov cl, byte [esp + 0x17]
mov dword [edi + 4], eax
jmp 0x41efae
lea ecx, [esi + esi*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
call dword [esp + 0x28]
add esp, 4
cmp eax, ebp
mov dword [edi + 4], eax
jne 0x41ee0a
mov eax, 0x8007000e
jmp 0x41f2fc
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
mov dword [eax + 4], 1
xor ebp, ebp
test cl, 0x20
je 0x41f012
lea esi, [esp + 0x50]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.0041e780
cmp eax, ebp
jne 0x41f2fc
mov edi, dword [esp + 0x50]
cmp edi, ebp
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x10], edi
jne 0x41efe0
mov dword [esi + 0x14], ebp
jmp 0x41eff8
push edi
call dword [esp + 0x28]
xor ecx, ecx
add esp, 4
cmp eax, ebp
setne cl
mov dword [esi + 0x14], eax
mov eax, ecx
cmp eax, ebp
je 0x41ef91
mov edx, dword [esi + 0x14]
push edx
mov eax, ebx
call fcn.0041e6f0
add esp, 4
cmp eax, ebp
jne 0x41f2fc
mov cl, byte [esp + 0x17]
test cl, cl
jns 0x41f14a
lea ebx, [ebx]
mov esi, dword [ebx + 4]
cmp esi, ebp
je 0x41f17c
mov eax, dword [ebx]
add esi, 0xffffffff
lea edi, [eax + 1]
mov dword [ebx + 4], esi
mov cl, byte [eax]
mov al, cl
and al, 0xf
movzx eax, al
cdq
mov dword [esp + 0x78], edx
xor edx, edx
cmp dword [esp + 0x78], edx
mov byte [esp + 0x17], cl
mov dword [ebx], edi
ja 0x41f17c
jb 0x41f060
cmp eax, esi
ja 0x41f17c
sub esi, eax
add edi, eax
test cl, 0x10
mov dword [ebx + 4], esi
mov dword [ebx], edi
je 0x41f100
lea esi, [esp + 0x40]
call fcn.0041e780
xor ebp, ebp
cmp eax, ebp
jne 0x41f2fc
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
ja 0x41edf3
mov eax, dword [esp + 0x40]
jb 0x41f0a2
cmp eax, 0x80000000
jae 0x41edf3
cmp ecx, ebp
ja 0x41edf3
jb 0x41f0b7
cmp eax, 0x4000000
jae 0x41edf3
lea esi, [esp + 0x28]
call fcn.0041e780
cmp eax, ebp
jne 0x41f2fc
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
ja 0x41edf3
mov eax, dword [esp + 0x28]
jb 0x41f0e5
cmp eax, 0x80000000
jae 0x41edf3
cmp ecx, ebp
ja 0x41edf3
jb 0x41f0fa
cmp eax, 0x4000000
jae 0x41edf3
mov cl, byte [esp + 0x17]
jmp 0x41f102
xor ebp, ebp
test cl, 0x20
je 0x41f142
lea esi, [esp + 0x48]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.0041e780
cmp eax, ebp
jne 0x41f2fc
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp edx, ecx
ja 0x41f17c
mov ecx, dword [esp + 0x48]
jb 0x41f137
cmp ecx, eax
ja 0x41f17c
sub eax, ecx
add dword [ebx], ecx
mov cl, byte [esp + 0x17]
mov dword [ebx + 4], eax
test cl, cl
js 0x41f020
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
add dword [esp + 0x3c], ecx
add dword [esp + 0x30], edx
add dword [esp + 0x34], 0x18
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
jae 0x41f186
mov edi, dword [esp + 0x20]
xor ebp, ebp
jmp 0x41ee36
mov eax, 6
jmp 0x41f2fc
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
add esi, 0xffffffff
mov dword [esp + 0x18], esi
mov dword [edi + 8], esi
jne 0x41f1a3
mov dword [edi + 0xc], 0
jmp 0x41f1bd
lea eax, [esi*8]
push eax
call dword [esp + 0x28]
add esp, 4
test eax, eax
mov dword [edi + 0xc], eax
je 0x41ef91
xor edi, edi
test esi, esi
jbe 0x41f273
jmp 0x41f1d0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
lea esi, [esp + 0x28]
lea ebp, [edx + edi*8]
call fcn.0041e780
test eax, eax
jne 0x41f2fc
mov ecx, dword [esp + 0x2c]
test ecx, ecx
ja 0x41edf3
mov eax, dword [esp + 0x28]
jb 0x41f208
cmp eax, 0x80000000
jae 0x41edf3
test ecx, ecx
ja 0x41edf3
jb 0x41f21d
cmp eax, 0x4000000
jae 0x41edf3
lea esi, [esp + 0x40]
mov dword [ebp], eax
call fcn.0041e780
test eax, eax
jne 0x41f2fc
mov ecx, dword [esp + 0x44]
test ecx, ecx
ja 0x41edf3
mov eax, dword [esp + 0x40]
jb 0x41f24e
cmp eax, 0x80000000
jae 0x41edf3
test ecx, ecx
ja 0x41edf3
jb 0x41f263
cmp eax, 0x4000000
jae 0x41edf3
add edi, 1
cmp edi, dword [esp + 0x18]
mov dword [ebp + 4], eax
jb 0x41f1d0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov ebp, edi
sub ebp, dword [esp + 0x18]
mov dword [esi + 0x10], ebp
jne 0x41f315
mov dword [esi + 0x14], 0
xor edi, edi
test ebp, ebp
jbe 0x41f2fa
jmp 0x41f2a0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
lea eax, [edx + edi*4]
lea esi, [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.0041e780
test eax, eax
jne 0x41f2fc
mov ecx, dword [esp + 0x2c]
test ecx, ecx
ja 0x41edf3
mov eax, dword [esp + 0x28]
jb 0x41f2d8
cmp eax, 0x80000000
jae 0x41edf3
test ecx, ecx
ja 0x41edf3
jb 0x41f2ed
cmp eax, 0x4000000
jae 0x41edf3
mov ecx, dword [esp + 0x18]
add edi, 1
cmp edi, ebp
mov dword [ecx], eax
jb 0x41f2a0
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432218
add esp, 0x80
ret
lea eax, [ebp*4]
push eax
call dword [esp + 0x28]
add esp, 4
test eax, eax
mov dword [esi + 0x14], eax
je 0x41ef91
cmp ebp, 1
jne 0x41f291
xor ebx, ebx
test edi, edi
jbe 0x41f2fa
mov ebp, dword [esi + 8]
xor ecx, ecx
test ebp, ebp
jbe 0x41f35e
mov edx, dword [esi + 0xc]
lea ebx, [ebx]
cmp dword [edx], ebx
je 0x41f362
add ecx, 1
add edx, 8
cmp ecx, ebp
jb 0x41f350
mov dword [eax], ebx
jmp 0x41f2fa
test ecx, ecx
jl 0x41f35e
add ebx, 1
cmp ebx, edi
jb 0x41f341
jmp 0x41f2fa