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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
test ecx, ecx
setle dl
test esi, esi
setle al
or dl, al
jne 0x4dd1f0
test ebx, ebx
je 0x4dd1f0
mov ebp, dword [esp + 0x78]
test ebp, ebp
je 0x4dd23f
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 8]
test edi, edi
je 0x4dd230
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov edx, edi
and eax, 0xfffffffe
and edx, 0xfffffffe
test edi, edi
mov dword [esp + 0x10], edx
js 0x4dd1f0
mov edi, eax
shr edi, 0x1f
mov edx, edi
test dl, dl
je 0x4dd200
lea esi, [esi]
mov eax, 2
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x78]
mov edi, dword [edi + 0x14]
mov ebp, dword [edx + 0x18]
test edi, edi
jle 0x4dd1f0
test ebp, ebp
jle 0x4dd1f0
mov edx, dword [esp + 0x10]
add edx, edi
cmp ecx, edx
jl 0x4dd1f0
add eax, ebp
cmp esi, eax
jl 0x4dd1f0
mov esi, ebp
mov ecx, edi
lea esi, [esi]
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x4dd430
mov edi, dword [ebx]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], esi
cmp edi, 0xc
ja 0x4dd1f0
mov ebp, dword [ebx + 0xc]
test ebp, ebp
jne 0x4dd25e
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x4dd4fb
cmp edi, 0xc
ja 0x4dd1f0
cmp edi, 0xa
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
jbe 0x4dd4a0
lea ecx, [ebp + 1]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x30], ebp
mov eax, ecx
shr eax, 0x1f
sar esi, 0x1f
add eax, ecx
mov ecx, dword [ebx + 0x20]
sar eax, 1
mov dword [esp + 0x10], eax
xor ecx, esi
sub ecx, esi
mov esi, dword [ebx + 0x24]
sar esi, 0x1f
mov eax, esi
xor esi, dword [ebx + 0x24]
sub esi, eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x18], esi
mov esi, dword [ebx + 0x28]
sar eax, 0x1f
xor esi, eax
sub esi, eax
lea eax, [edx - 1]
mov dword [esp + 0x38], esi
lea esi, [edx + 1]
mov dword [esp + 0x28], eax
mov eax, ebp
mov edx, esi
sar eax, 0x1f
shr edx, 0x1f
mov dword [esp + 0x34], eax
mov eax, edx
mov edx, dword [ebx + 0x14]
add eax, esi
sar eax, 1
lea esi, [eax - 1]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
sar eax, 0x1f
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
test eax, eax
setne al
test edx, edx
setne dl
and eax, edx
mov edx, dword [ebx + 0x18]
test edx, edx
setne dl
and edx, eax
cmp ebp, ecx
setle al
and edx, eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
setle al
and eax, edx
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x38]
setle dl
and eax, edx
mov byte [esp + 0x3f], al
mov eax, ecx
imul dword [esp + 0x28]
mov ecx, edx
mov edx, eax
add edx, dword [esp + 0x30]
adc ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x10], edx
mov edx, eax
mov eax, 1
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], 0
ja 0x4dd499
cmp dword [esp + 0x10], edx
ja 0x4dd499
and al, byte [esp + 0x3f]
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x18]
imul esi
mov ecx, edx
mov edx, eax
add edx, dword [esp + 0x20]
adc ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x10], edx
mov edx, eax
mov eax, 1
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], 0
ja 0x4dd492
cmp dword [esp + 0x10], edx
ja 0x4dd492
and al, byte [esp + 0x3f]
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x38]
imul esi
mov ecx, edx
mov edx, eax
add edx, dword [esp + 0x20]
adc ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x10], edx
mov edx, eax
mov eax, 1
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], 0
ja 0x4dd48b
cmp dword [esp + 0x10], edx
ja 0x4dd48b
and al, byte [esp + 0x18]
cmp edi, 0xc
mov byte [esp + 0x10], al
je 0x4dd5e8
movzx eax, al
test eax, eax
je 0x4dd1f0
mov ecx, dword [esp + 0x78]
xor eax, eax
test ecx, ecx
je 0x4dd1f5
mov edi, dword [esp + 0x78]
mov edx, dword [edi + 0x30]
test edx, edx
je 0x4dd1f5
mov dword [esp], ebx
call fcn.004dd0f0
jmp 0x4dd1f5
mov eax, dword [eax + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], esi
mov dword [esp], ecx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call fcn.004dcf50
test eax, eax
je 0x4dd1f0
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
test ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], esi
jle 0x4dd1f0
test esi, esi
jle 0x4dd1f0
mov edi, dword [ebx]
jmp 0x4dd247
xor eax, eax
jmp 0x4dd3e1
xor eax, eax
jmp 0x4dd3a0
xor eax, eax
jmp 0x4dd35f
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x14]
sar ecx, 0x1f
xor eax, ecx
sub eax, ecx
mov ecx, dword [edi*4 + 0x735de0]
mov edi, eax
imul ecx, ebp
cmp eax, ecx
setge al
mov esi, eax
mov eax, dword [ebx + 0x10]
test eax, eax
mov eax, edi
setne cl
and ecx, esi
lea esi, [edx - 1]
imul esi
mov esi, eax
mov eax, ebp
mov edi, edx
cdq
add eax, esi
mov esi, 1
adc edx, edi
mov edi, dword [ebx + 0x18]
cmp edx, 0
ja 0x4dd4f7
cmp eax, edi
ja 0x4dd4f7
and ecx, esi
movzx eax, cl
jmp 0x4dd3f5
xor esi, esi
jmp 0x4dd4ed
mov eax, dword [edi*4 + 0x735de0]
imul eax, ecx
mov dword [esp + 0x38], eax
imul esi
cmp edi, 0xa
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jbe 0x4dd63d
lea eax, [ecx + 1]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
sar eax, 1
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
sar eax, 1
imul dword [esp + 0x20]
cmp edi, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jne 0x4dd559
mov eax, esi
mov ebp, ecx
imul ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], 1
add eax, eax
adc edx, edx
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x14]
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004fd950
test eax, eax
je 0x4dd678
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x20], esi
mov esi, dword [esp + 0x20]
lea edx, [eax + ecx]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x18]
add ecx, esi
cmp edi, 0xc
mov dword [ebx + 0x34], esi
lea edx, [eax + ecx]
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x28], edx
jne 0x4dd5d7
add ecx, esi
add eax, ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x2c], ebp
mov edi, dword [ebx]
mov dword [ebx + 0x3c], eax
jmp 0x4dd25e
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x3c]
sar eax, 0x1f
xor ecx, eax
mov dword [esp + 0x18], esi
mov esi, 1
sub ecx, eax
mov eax, dword [esp + 0x28]
imul ecx
add eax, dword [esp + 0x30]
adc edx, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x1c], edi
cmp edx, 0
ja 0x4dd639
cmp eax, dword [esp + 0x18]
ja 0x4dd639
cmp dword [ebx + 0x1c], 0
setne al
cmp ebp, ecx
setle dl
and eax, edx
and eax, esi
and eax, dword [esp + 0x10]
jmp 0x4dd3f2
xor esi, esi
jmp 0x4dd620
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004fd950
test eax, eax
je 0x4dd678
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x38]
mov edi, dword [ebx]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x18], eax
jmp 0x4dd25e
mov eax, 1
jmp 0x4dd1f5