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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, dword [esp + 0x70]
mov ebx, eax
lea esi, [esp + 0x3c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call fcn.0041d5b0
cmp eax, ebp
jne 0x41e071
mov eax, dword [esp + 0x40]
cmp eax, ebp
ja 0x41dbe8
mov esi, dword [esp + 0x3c]
cmp esi, 0x80000000
jae 0x41dbe8
cmp eax, ebp
ja 0x41dbe8
cmp esi, 0x4000000
jb 0x41dbf5
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [edi], esi
cmp esi, ebp
jne 0x41dd20
mov dword [edi + 4], ebp
cmp esi, ebp
jbe 0x41dc22
xor ecx, ecx
mov edx, esi
lea ebx, [ebx]
mov eax, dword [edi + 4]
lea eax, [ecx + eax + 0x18]
add ecx, 0x20
dec edx
mov dword [eax], ebp
mov dword [eax + 4], ebp
jne 0x41dc10
mov dword [esp + 0x28], ebp
cmp esi, ebp
jbe 0x41df24
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
add eax, dword [esp + 0x1c]
mov esi, dword [ebx + 4]
mov dword [esp + 0x18], eax
cmp esi, ebp
je 0x41df17
mov eax, dword [ebx]
mov cl, byte [eax]
mov edx, dword [esp + 0x18]
dec esi
inc eax
mov byte [esp + 0x17], cl
xor edi, edi
and cl, 0xf
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov byte [edx + 0x17], cl
movzx ebp, cl
je 0x41dc82
test esi, esi
je 0x41df17
mov cl, byte [eax]
mov byte [edi + edx + 8], cl
dec esi
inc eax
inc edi
mov dword [ebx + 4], esi
mov dword [ebx], eax
cmp edi, ebp
jb 0x41dc68
test byte [esp + 0x17], 0x10
je 0x41dd45
lea esi, [esp + 0x44]
call fcn.0041d5b0
xor ebp, ebp
cmp eax, ebp
jne 0x41e071
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
ja 0x41dbe8
mov eax, dword [esp + 0x44]
jb 0x41dcd2
cmp eax, 0x80000000
jae 0x41dbe8
cmp ecx, ebp
ja 0x41dbe8
jb 0x41dcd2
cmp eax, 0x4000000
jae 0x41dbe8
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x4c]
mov dword [edi], eax
call fcn.0041d5b0
cmp eax, ebp
jne 0x41e071
mov ecx, dword [esp + 0x50]
cmp ecx, ebp
ja 0x41dbe8
mov eax, dword [esp + 0x4c]
jb 0x41dd1b
cmp eax, 0x80000000
jae 0x41dbe8
cmp ecx, ebp
ja 0x41dbe8
jb 0x41dd1b
cmp eax, 0x4000000
jae 0x41dbe8
mov dword [edi + 4], eax
jmp 0x41dd54
mov eax, esi
shl eax, 5
push eax
call dword [esp + 0x78]
add esp, 4
mov dword [edi + 4], eax
cmp eax, ebp
jne 0x41dc02
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [edx], 1
mov dword [edx + 4], 1
xor ebp, ebp
test byte [esp + 0x17], 0x20
je 0x41ddb4
lea esi, [esp + 0x34]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call fcn.0041d5b0
cmp eax, ebp
jne 0x41e071
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov dword [esi + 0x18], edi
cmp edi, ebp
jne 0x41dd88
mov dword [esi + 0x1c], ebp
jmp 0x41dd9e
push edi
call dword [esp + 0x78]
xor edx, edx
add esp, 4
cmp eax, ebp
setne dl
mov dword [esi + 0x1c], eax
cmp edx, ebp
je 0x41dd38
mov eax, dword [esi + 0x1c]
push eax
mov eax, ebx
call fcn.0041d530
add esp, 4
cmp eax, ebp
jne 0x41e071
test byte [esp + 0x17], 0x80
je 0x41dee7
nop
mov esi, dword [ebx + 4]
cmp esi, ebp
je 0x41df17
mov eax, dword [ebx]
mov cl, byte [eax]
mov dl, cl
and dl, 0xf
lea edi, [eax + 1]
movzx eax, dl
cdq
mov dword [esp + 0x68], edx
dec esi
xor edx, edx
mov dword [ebx + 4], esi
mov byte [esp + 0x17], cl
mov dword [ebx], edi
cmp dword [esp + 0x68], edx
ja 0x41df17
jb 0x41ddff
cmp eax, esi
ja 0x41df17
sub esi, eax
add edi, eax
mov dword [ebx + 4], esi
mov dword [ebx], edi
test cl, 0x10
je 0x41de9f
lea esi, [esp + 0x54]
call fcn.0041d5b0
xor ebp, ebp
cmp eax, ebp
jne 0x41e071
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
ja 0x41dbe8
mov eax, dword [esp + 0x54]
jb 0x41de56
cmp eax, 0x80000000
jae 0x41dbe8
cmp ecx, ebp
ja 0x41dbe8
jb 0x41de56
cmp eax, 0x4000000
jae 0x41dbe8
lea esi, [esp + 0x5c]
call fcn.0041d5b0
cmp eax, ebp
jne 0x41e071
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
ja 0x41dbe8
mov eax, dword [esp + 0x5c]
jb 0x41de99
cmp eax, 0x80000000
jae 0x41dbe8
cmp ecx, ebp
ja 0x41dbe8
jb 0x41de99
cmp eax, 0x4000000
jae 0x41dbe8
mov cl, byte [esp + 0x17]
jmp 0x41dea1
xor ebp, ebp
test cl, 0x20
je 0x41dedf
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.0041d5b0
cmp eax, ebp
jne 0x41e071
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp dword [esp + 0x30], ecx
ja 0x41df17
mov ecx, dword [esp + 0x2c]
jb 0x41ded4
cmp ecx, eax
ja 0x41df17
sub eax, ecx
add dword [ebx], ecx
mov cl, byte [esp + 0x17]
mov dword [ebx + 4], eax
test cl, cl
js 0x41ddc0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x28]
add dword [esp + 0x24], ecx
add dword [esp + 0x20], edx
add dword [esp + 0x1c], 0x20
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x3c]
jae 0x41df24
mov edi, dword [esp + 0x70]
xor ebp, ebp
jmp 0x41dc32
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x70]
dec esi
xor ebp, ebp
mov dword [esp + 0x28], esi
mov dword [edi + 8], esi
cmp esi, ebp
jne 0x41df3f
mov dword [edi + 0xc], ebp
jmp 0x41df59
lea eax, [esi*8]
push eax
call dword [esp + 0x78]
add esp, 4
mov dword [edi + 0xc], eax
cmp eax, ebp
je 0x41dd38
cmp esi, ebp
jbe 0x41e001
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
lea esi, [esp + 0x5c]
lea edi, [edx + ebp*8]
call fcn.0041d5b0
test eax, eax
jne 0x41e071
mov ecx, dword [esp + 0x60]
test ecx, ecx
ja 0x41dbe8
mov eax, dword [esp + 0x5c]
jb 0x41dfae
cmp eax, 0x80000000
jae 0x41dbe8
test ecx, ecx
ja 0x41dbe8
jb 0x41dfae
cmp eax, 0x4000000
jae 0x41dbe8
lea esi, [esp + 0x54]
mov dword [edi], eax
call fcn.0041d5b0
test eax, eax
jne 0x41e071
mov ecx, dword [esp + 0x58]
test ecx, ecx
ja 0x41dbe8
mov eax, dword [esp + 0x54]
jb 0x41dff3
cmp eax, 0x80000000
jae 0x41dbe8
test ecx, ecx
ja 0x41dbe8
jb 0x41dff3
cmp eax, 0x4000000
jae 0x41dbe8
inc ebp
mov dword [edi + 4], eax
cmp ebp, dword [esp + 0x28]
jb 0x41df61
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x70]
mov edi, ebp
sub edi, dword [esp + 0x28]
mov dword [esi + 0x10], edi
jne 0x41e079
mov dword [esi + 0x14], 0
xor ebp, ebp
test edi, edi
je 0x41e06f
lea esi, [esp + 0x5c]
call fcn.0041d5b0
test eax, eax
jne 0x41e071
mov ecx, dword [esp + 0x60]
test ecx, ecx
ja 0x41dbe8
mov eax, dword [esp + 0x5c]
jb 0x41e060
cmp eax, 0x80000000
jae 0x41dbe8
test ecx, ecx
ja 0x41dbe8
jb 0x41e060
cmp eax, 0x4000000
jae 0x41dbe8
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov dword [edx + ebp*4], eax
inc ebp
cmp ebp, edi
jb 0x41e021
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
lea eax, [edi*4]
push eax
call dword [esp + 0x78]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x41dd38
cmp edi, 1
jne 0x41e01b
xor edi, edi
test ebp, ebp
je 0x41e06f
mov ebx, dword [esi + 8]
xor ecx, ecx
test ebx, ebx
je 0x41e0bc
mov edx, dword [esi + 0xc]
lea ebx, [ebx]
cmp dword [edx], edi
je 0x41e0c8
inc ecx
add edx, 8
cmp ecx, ebx
jb 0x41e0b0
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
test ecx, ecx
js 0x41e0bc
inc edi
cmp edi, ebp
jb 0x41e0a1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret