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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x64]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0x80]
push edi
mov edi, dword [esi + 0x20]
add ecx, 0xfffffffb
mov dword [esp + 0x54], edi
cmp ecx, 3
ja case.default.0x44d9b4
jmp dword [ecx*4 + 0x44dddc]
push eax
mov eax, dword [esp + 0x6c]
call fcn.00447410
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x44da20
push eax
mov eax, dword [esp + 0x6c]
call fcn.0044d380
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x44da20
push eax
mov eax, dword [esp + 0x6c]
call fcn.00457680
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x44da20
push eax
mov eax, dword [esp + 0x6c]
call fcn.00447440
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x44da20
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
imul edx, edx, 0x9e3779b1
mov ecx, 0x20
sub ecx, eax
shr edx, cl
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
mov eax, dword [edi + edx*4]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x68]
sub edi, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
mov ebx, edi
sub ebx, ecx
mov dword [esp + 0x44], edi
cmp ebx, edx
jbe 0x44da53
mov ebx, edi
sub ebx, edx
jmp 0x44da55
mov ebx, ecx
cmp dword [esi + 0x14], 0
je 0x44da63
mov ebx, ecx
mov dword [esp + 0x2c], ebx
jmp 0x44da67
mov dword [esp + 0x2c], ebx
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x28]
dec ecx
mov ebp, 1
shl ebp, cl
mov dword [esp + 0x1c], edx
dec ebp
mov dword [esp + 0x40], ebp
cmp ebp, edi
jb 0x44da8c
mov dword [esp + 0x20], 0
jmp 0x44da98
sub edi, ebp
mov dword [esp + 0x20], edi
cmp edi, ebx
jbe 0x44da98
mov ebx, edi
mov ecx, ebp
and ecx, eax
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 0x84]
mov esi, 1
shl esi, cl
xor ecx, ecx
lea edi, [edx + 4]
mov dword [esp + 0x10], esi
cmp eax, ebx
jbe 0x44dafa
lea ecx, [ecx]
cmp dword [edi], 1
jne 0x44dae5
cmp esi, 1
jbe 0x44dae5
mov dword [edi], ecx
mov edi, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [edx]
mov edx, ebp
and edx, eax
lea edx, [edi + edx*8]
dec esi
lea edi, [edx + 4]
cmp eax, ebx
ja 0x44dac0
jmp 0x44dafa
cmp eax, ebx
jbe 0x44dafa
cmp dword [edi], 1
jne 0x44dafa
mov dword [edi], 0
mov dword [edx], 0
xor edi, edi
mov eax, ecx
cmp ecx, edi
je 0x44db2e
mov edx, dword [esp + 0x1c]
mov ecx, ebp
and ecx, eax
mov edi, dword [edx + ecx*8 + 4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
push ecx
push ebx
push esi
push edx
push eax
mov eax, dword [esp + 0x78]
call fcn.0044d4d0
add esp, 0x14
inc esi
mov eax, edi
test edi, edi
jne 0x44db02
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
lea eax, [ecx + ebx]
mov dword [esp + 0x38], eax
lea eax, [ecx + edx]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov edx, ebp
and edx, eax
lea edx, [esi + edx*8]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], edx
add edx, 4
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], edx
lea edx, [eax + 9]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x18], edi
mov edi, dword [esi + edx*4]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], ecx
mov dword [esi + edx*4], eax
jne 0x44dc08
dec dword [esp + 0x10]
cmp dword [esp + 0x78], 2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov dword [edx], 0
pop ebx
jne 0x44dbe8
mov eax, dword [esp]
test eax, eax
je 0x44dbe8
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
mov eax, dword [esp + 0x78]
push ecx
call fcn.0044d710
add esp, 0x18
mov dword [esp + 8], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
add edx, 0xfffffff8
mov dword [eax + 0x18], edx
mov eax, dword [esp + 8]
add esp, 0x50
ret
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
mov edx, 1
sub dword [esp + 0x10], edx
cmp edi, dword [esp + 0x2c]
jbe 0x44db98
mov esi, dword [esp + 0x1c]
mov eax, ebp
and eax, edi
lea eax, [esi + eax*8]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
cmp esi, eax
jb 0x44dc34
mov esi, eax
cmp dword [esp + 0x78], edx
jne 0x44dcb0
lea edx, [esi + edi]
cmp edx, ecx
jae 0x44dcb0
mov eax, dword [esp + 0x68]
lea ebp, [ebx + edi]
lea ecx, [esi + eax]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ebp
add ebp, esi
mov edx, ecx
sub edx, ebp
add eax, edx
mov edx, dword [esp + 0x6c]
cmp eax, edx
jb 0x44dc65
mov eax, edx
mov ebx, eax
mov edx, ebp
call fcn.0041eb30
lea ecx, [eax + ebp]
mov dword [esp + 0x48], eax
cmp ecx, dword [esp + 0x38]
jne 0x44dc95
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
lea ecx, [esi + edx]
mov edx, dword [esp + 0x5c]
add ecx, eax
call fcn.0041eb30
add eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
add esi, eax
lea eax, [esi + edi]
cmp eax, dword [esp + 0x3c]
jb 0x44dcd0
mov ecx, dword [esp + 0x30]
add ecx, edi
mov dword [esp + 0x14], ecx
jmp 0x44dcd0
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
lea eax, [edx + edi]
mov dword [esp + 0x14], eax
lea edx, [eax + esi]
mov eax, dword [esp + 0x68]
lea ecx, [esi + eax]
call fcn.0041eb30
add esi, eax
cmp esi, dword [esp + 0x18]
jbe 0x44dd53
mov ecx, dword [esp + 0x34]
sub ecx, edi
cmp esi, ecx
jbe 0x44dce7
lea edx, [esi + edi]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x44]
sub edx, edi
xor ebx, ebx
lea eax, [edx + 1]
bsr ecx, eax
setne al
movzx eax, al
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
inc ecx
bsr ecx, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x48], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x48]
sub eax, ecx
mov ecx, esi
sub ecx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
cmp ecx, eax
jle 0x44dd46
mov eax, dword [esp + 0x70]
add edx, 2
mov dword [esp + 0x18], esi
mov dword [eax], edx
mov ecx, dword [esp + 0x68]
lea edx, [esi + ecx]
cmp edx, dword [esp + 0x6c]
je 0x44ddaa
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov edx, dword [esp + 0x68]
cmp cl, byte [esi + edx]
jae 0x44dd80
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov dword [esp + 0x4c], esi
cmp edi, dword [esp + 0x20]
jbe 0x44ddc2
mov eax, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x28], eax
jmp 0x44dd98
mov ecx, dword [esp + 0x24]
mov dword [ecx], edi
mov dword [esp + 0x50], esi
cmp edi, dword [esp + 0x20]
jbe 0x44ddcf
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
mov edi, dword [eax]
jne 0x44dc00
jmp 0x44db94
cmp dword [esp + 0x78], 2
jne 0x44db98
mov dword [esp + 0x10], 0
jmp 0x44db98
lea edx, [esp + 0x5c]
mov dword [esp + 0x28], edx
jmp 0x44db98
lea eax, [esp + 0x5c]
mov dword [esp + 0x24], eax
jmp 0x44db98