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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
nop dword [eax]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jb 0x41dd52
cmp dword [ebx + 0x40], 7
jne 0x41e0f4
mov eax, dword [ebx + 0x40]
cmp eax, 8
ja case.default.0x41dd5a
jmp dword [eax*4 + 0x41e1e0]
mov eax, dword [esi]
movzx edx, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
test edx, edx
je 0x41e1d1
cmp edx, 0xe0
jae 0x41dd94
cmp edx, 1
je 0x41dd94
cmp byte [ebx + 0x50], 0
je 0x41ddce
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov word [ebx + 0x50], 0x100
cmp dword [ebx + 0x3c], 0
jne 0x41ddb2
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
cmp edx, 0x80
jb 0x41de6c
mov eax, edx
mov dword [ebx + 0x40], 1
and eax, 0x1f
shl eax, 0x10
mov dword [ebx + 0x48], eax
cmp edx, 0xc0
jb 0x41de04
mov byte [ebx + 0x51], 0
mov dword [ebx + 0x44], 5
jmp case.default.0x41dd5a
cmp byte [ebx + 0x51], 0
jne 0x41dd88
mov dword [ebx + 0x44], 6
cmp edx, 0xa0
jb case.default.0x41dd5a
mov dword [ebx + 0x64], 0
lea edi, [ebx + 0x78]
mov dword [ebx + 0x54], 0
mov ecx, 0x1b9b
mov dword [ebx + 0x58], 0
mov eax, 0x4000400
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
rep stosd dword es:[edi], eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
jmp case.default.0x41dd5a
cmp edx, 2
ja 0x41dd88
mov dword [ebx + 0x40], 3
mov dword [ebx + 0x44], 8
jmp case.default.0x41dd5a
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
shl eax, 8
add dword [ebx + 0x48], eax
inc dword [esi + 4]
mov dword [ebx + 0x40], 2
jmp case.default.0x41dd5a
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
inc eax
add dword [ebx + 0x48], eax
inc dword [esi + 4]
mov dword [ebx + 0x40], 3
jmp case.default.0x41dd5a
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
shl eax, 8
mov dword [ebx + 0x4c], eax
inc dword [esi + 4]
mov dword [ebx + 0x40], 4
jmp case.default.0x41dd5a
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
inc eax
add dword [ebx + 0x4c], eax
inc dword [esi + 4]
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x40], eax
jmp case.default.0x41dd5a
mov eax, dword [esi]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov byte [ebp - 1], dl
mov dword [esi + 4], eax
cmp dl, 0xe0
ja 0x41dd88
xor edi, edi
cmp dl, 0x2d
jb 0x41df32
movzx ecx, dl
mov eax, 0x6c16c16d
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
mov dl, byte [ebp - 1]
shr ecx, 5
movzx eax, cl
add dl, 0xd3
inc edi
sub eax, 1
jne 0x41df26
mov byte [ebp - 1], dl
mov ecx, edi
mov dword [ebx + 0x70], 0
mov eax, 1
xor edi, edi
shl eax, cl
dec eax
mov dword [ebx + 0x74], eax
cmp dl, 9
jb 0x41df6c
movzx ecx, dl
mov eax, 0x38e38e39
mul ecx
shr edx, 1
movzx eax, dl
mov dl, byte [ebp - 1]
nop
add dl, 0xf7
inc edi
sub eax, 1
jne 0x41df60
mov dword [ebx + 0x70], edi
movzx eax, dl
mov dword [ebx + 0x6c], eax
add eax, edi
cmp eax, 4
ja 0x41dd88
mov ecx, edi
mov dword [ebx + 0x64], 0
mov eax, 1
mov dword [ebx + 0x54], 0
shl eax, cl
lea edi, [ebx + 0x78]
dec eax
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x70], eax
mov ecx, 0x1b9b
mov dword [ebx + 0x5c], 0
mov eax, 0x4000400
mov dword [ebx + 0x60], 0
rep stosd dword es:[edi], eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
mov dword [ebx + 0x40], 6
cmp dword [ebx + 0x4c], 5
jb 0x41dd88
cmp dword [ebx + 8], 0
jbe 0x41e016
nop word [eax + eax]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x41e0f4
mov eax, dword [esi]
movzx ecx, byte [ecx + eax]
mov eax, dword [ebx + 4]
shl eax, 8
add ecx, eax
mov dword [ebx + 4], ecx
inc dword [esi + 4]
add dword [ebx + 8], 0xffffffff
jne 0x41dff0
add dword [ebx + 0x4c], 0xfffffffb
mov dword [ebx + 0x40], 7
mov edi, dword [esi + 0x14]
sub edi, dword [esi + 0x10]
cmp edi, dword [ebx + 0x48]
mov edx, dword [ebx + 0x2c]
mov ecx, edx
cmovae edi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x20]
sub ecx, eax
add eax, edi
cmp ecx, edi
mov ecx, ebx
cmova edx, eax
mov dword [ebx + 0x28], edx
mov edx, esi
call fcn.0041db60
test al, al
je 0x41dd88
mov eax, dword [ebx + 0x20]
mov edi, eax
mov ecx, dword [ebx + 0x1c]
sub edi, ecx
cmp dword [ebx + 0x3c], 0
je 0x41e088
cmp eax, dword [ebx + 0x2c]
jne 0x41e06f
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x18]
add eax, ecx
push edi
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
push eax
call fcn.00420a10
mov eax, dword [ebx + 0x20]
add esp, 0xc
mov dword [ebx + 0x1c], eax
add dword [esi + 0x10], edi
sub dword [ebx + 0x48], edi
jne 0x41e0d1
cmp dword [ebx + 0x4c], 0
ja 0x41dd88
cmp dword [ebx + 0x68], 0
ja 0x41dd88
cmp dword [ebx + 4], 0
jne 0x41dd88
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
mov dword [ebx + 0x40], 0
jmp case.default.0x41dd5a
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x41e0f4
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne case.default.0x41dd5a
mov eax, dword [ebx + 0x6ee4]
cmp eax, dword [ebx + 0x4c]
jae case.default.0x41dd5a
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x41e1c5
mov edi, eax
mov dword [ebp - 8], edi
nop dword [eax]
mov edx, dword [esi + 8]
cmp ecx, edx
jae 0x41e0f4
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, dword [esi + 0x14]
cmp dword [esi + 0x10], edi
jae 0x41e1bd
sub edi, dword [ebp - 0xc]
sub edx, ecx
mov eax, dword [ebx + 0x2c]
cmp edx, edi
mov ecx, dword [ebp - 8]
cmovae edx, edi
sub eax, dword [ebx + 0x20]
cmp edx, eax
mov edi, ecx
cmovbe eax, edx
cmp eax, ecx
cmovbe edi, eax
sub ecx, edi
mov dword [ebx + 0x4c], ecx
mov eax, dword [esi + 4]
add eax, dword [esi]
push edi
push eax
mov eax, dword [ebx + 0x18]
add eax, dword [ebx + 0x20]
push eax
call fcn.00420a10
mov ecx, dword [ebx + 0x20]
add esp, 0xc
add ecx, edi
mov dword [ebx + 0x20], ecx
cmp dword [ebx + 0x24], ecx
jae 0x41e175
mov dword [ebx + 0x24], ecx
cmp dword [ebx + 0x3c], 0
je 0x41e1a1
xor edx, edx
mov eax, ecx
cmp ecx, dword [ebx + 0x2c]
push edi
cmove eax, edx
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 4]
add eax, dword [esi]
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
push eax
call fcn.00420a10
mov ecx, dword [ebx + 0x20]
add esp, 0xc
mov dword [ebx + 0x1c], ecx
add dword [esi + 4], edi
add dword [esi + 0x10], edi
mov eax, dword [ebx + 0x4c]
mov edi, eax
mov ecx, dword [esi + 4]
mov dword [ebp - 8], eax
test eax, eax
jne 0x41e110
test eax, eax
jne 0x41e0f4
mov dword [ebx + 0x40], 0
jmp case.default.0x41dd5a
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret