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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xf0
movsx edx, word [esp + 0x120]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x90], 0
movsx eax, word [esp + 0x128]
mov dword [esp], ecx
mov esi, dword [esp + 0x114]
mov word [esp + 0x60], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x4c], eax
mov eax, edx
and edx, 0xffff
sar eax, 0x10
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov eax, ecx
mov ecx, dword [esp + 0x108]
neg eax
add eax, eax
lea ebx, [esp + ebx + 0xaf]
add esi, eax
add ecx, eax
add eax, dword [esp + 0x10c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x40], esi
movsx ebx, word [esp + 0x11c]
movsx esi, word [esp + 0x124]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], esi
sub dword [esp + 0x110], eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x110]
movsx eax, word [ebx + ecx*2]
sub edx, dword [esp]
mov ebx, dword [esp + 0x14]
add eax, dword [esp + 0x118]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
movzx eax, byte [esi + ecx]
movsx edx, word [edx + ecx*2]
shl eax, 8
test ebx, ebx
mov dword [esp + 4], edx
jle 0x442578
mov ebx, dword [esp + 0x48]
and eax, 0xffff
xor ebp, ebp
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
movsx ecx, word [ebx + ecx*2]
lea ebx, [esp + 0xb0]
add ebx, dword [esp + 0x3c]
lea esi, [esp + esi*2 + 0x60]
mov dword [esp + 0x2c], esi
lea eax, [esp + eax*4 + 0x90]
mov dword [esp + 0x18], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0x28], eax
movsx eax, word [esp + ebp*2 + 0x60]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
imul eax, dword [esp + 0x24]
sar eax, 0x10
sub edx, eax
movsx edx, dx
imul ecx, edx
imul edx, dword [esp + 0x34]
sar edx, 0x10
add edx, ecx
cmp edx, 9
jg 0x4424a0
cmp edx, 0xfffffff6
mov ecx, 0xfffffff6
mov ebx, dword [esp + 8]
cmovl edx, ecx
mov esi, edx
mov dword [esp + 0x20], edx
shl esi, 0xa
cmp edx, 0
mov byte [ebx], dl
jg 0x4424f0
jne 0x442530
lea edi, [esi + 0x39a]
mov ebx, esi
mov ecx, esi
sar ebx, 0x10
imul ebx, dword [esp + 0xc]
mov esi, edi
and ecx, 0xffff
and edi, 0xffff
sar esi, 0x10
imul esi, dword [esp + 0xc]
imul edi, dword [esp + 0xc]
imul ecx, dword [esp + 0xc]
sar edi, 0x10
add edi, esi
mov esi, dword [esp + 0x2c]
sar ecx, 0x10
add ecx, ebx
add edi, eax
add ecx, eax
cmp edx, 2
mov word [esp + ebp*2 + 0x60], cx
mov word [esi + ebp*2], di
jle 0x442480
cmp edx, 3
je 0x442510
imul edx, edx, 0x2b
lea eax, [edx + 0x6c]
add edx, 0x97
mov esi, dword [esp + 4]
mov ebx, dword [esp + ebp*4 + 0x90]
imul eax, dword [esp + 0x1c]
imul edx, dword [esp + 0x1c]
add dword [esp + 8], 0x10
sub esi, ecx
movsx ecx, si
imul ecx, ecx
imul ecx, dword [esp + 0x18]
add ecx, ebx
add ecx, eax
mov eax, dword [esp + 4]
mov dword [esp + ebp*4 + 0x90], ecx
sub eax, edi
cwde
imul eax, eax
imul eax, dword [esp + 0x18]
add eax, ebx
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [edx + ebp*4], eax
add ebp, 1
cmp ebp, dword [esp + 0x14]
jne 0x44215a
cmp dword [esp + 0x14], 3
jle 0x442550
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x44271a
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0xa0]
cmp eax, edx
jg 0x4426e0
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xa4]
cmp eax, edx
jg 0x4426a0
mov dword [esp + 0x74], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa8]
cmp eax, edx
jg 0x442660
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x58], 2
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x9c]
mov dword [esp + 4], ecx
cmp ebp, ecx
jg 0x442620
mov eax, ebp
mov dword [esp + 0x7c], ebp
mov ebp, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x5c], 3
mov dword [esp + 4], eax
jmp 0x442416
mov edx, eax
mov edi, 4
xor ecx, ecx
mov esi, dword [esp + 0x74]
mov eax, 1
cmp ebx, esi
jl 0x44235d
mov esi, ebx
xor al, al
mov ebx, dword [esp + 0x88]
cmp edx, ebx
jg 0x442460
mov ebx, edx
mov edx, dword [esp + 0x78]
cmp esi, edx
jl 0x442476
mov edx, esi
cmp ebx, ebp
jg 0x442450
mov ebp, ebx
cmp edx, dword [esp + 4]
jge 0x442395
mov edx, dword [esp + 4]
mov eax, 3
cmp ebp, edx
jge 0x4425c1
mov edx, dword [esp + ecx*4 + 0x50]
mov dword [esp + eax*4 + 0x70], 0
mov dword [esp + ecx*4 + 0x80], 0x7fffffff
shl ecx, 4
lea ebx, [esp + ecx + 0xb0]
mov ecx, dword [esp + ecx + 0xb0]
mov ebp, dword [esp + 0x8c]
xor edx, 4
mov dword [esp + eax*4 + 0x50], edx
mov edx, dword [esp + edi*4 + 0x90]
mov dword [esp + eax*4 + 0x90], edx
movzx edx, word [esp + edi*2 + 0x60]
mov word [esp + eax*2 + 0x60], dx
shl eax, 4
mov dword [esp + eax + 0xb0], ecx
lea edx, [esp + eax + 0xb0]
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebx + 4]
mov dword [esp + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
mov ebx, dword [esp + 0x70]
mov esi, 0
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
test ebx, ebx
cmovs ebx, esi
cmp eax, edx
jle 0x442343
mov edi, 5
mov ecx, 1
jmp 0x44234c
mov edi, 7
mov ecx, 3
jmp 0x442386
mov edx, dword [esp + 0x78]
mov edi, 6
mov ecx, 2
cmp esi, edx
jge 0x44237a
mov eax, 2
jmp 0x44237c
cmp edx, 0xfffffffd
jge 0x4424d0
cmp edx, 0xfffffffc
je 0x442600
imul edx, edx, 0xffffffd5
lea eax, [edx + 0x6c]
add edx, 0x41
jmp 0x44221e
mov edx, dword [esp + 8]
mov edi, 0x279a
xor esi, esi
mov ecx, 0x239a
xor ebx, ebx
mov dword [esp + 0x20], 9
mov byte [edx], 9
mov edx, 9
jmp 0x4421db
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
movzx eax, byte [ebx + edx + 4]
movzx edx, byte [ebx + edx + 5]
jmp 0x44221e
lea ecx, [esi - 0x66]
lea edi, [esi + 0x39a]
mov ebx, ecx
sar ebx, 0x10
imul ebx, dword [esp + 0xc]
jmp 0x4421c5
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
movzx eax, byte [ebx + edx + 4]
mov edx, 0x118
jmp 0x44221e
lea edi, [esi + 0x400]
cmp edx, 0xffffffff
lea ecx, [esi + 0x66]
je 0x4424f9
lea ecx, [esi + 0x66]
lea edi, [esi + 0x466]
jmp 0x4424f9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xb0]
mov ebx, dword [esp + 0x10]
add eax, dword [esp + 0x3c]
shl ecx, 4
add ebx, ecx
movzx edx, byte [eax]
add edx, 1
mov byte [eax + ecx], dl
add eax, 0x10
cmp eax, ebx
jne 0x442568
shl dword [esp + 0x14], 1
cmp dword [esp + 0x14], 3
jg 0x4425b7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
shl eax, 4
add eax, dword [esp + 0x3c]
sub edx, 4
neg edx
shl edx, 4
add ecx, eax
xor eax, eax
movzx ebx, byte [esi + eax]
mov byte [ecx + eax], bl
add eax, 0x10
cmp eax, edx
jne 0x4425a9
sub dword [esp + 0x10], 1
jmp 0x4420d1
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
sar eax, 2
add byte [edx], al
mov eax, dword [esp + 0x54]
sar eax, 2
add byte [edx + 0x10], al
mov eax, dword [esp + 0x58]
sar eax, 2
add byte [edx + 0x20], al
mov eax, dword [esp + 0x5c]
sar eax, 2
add byte [edx + 0x30], al
sub dword [esp + 0x10], 1
jmp 0x4420d1
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
movzx edx, byte [eax + esi + 5]
mov eax, 0x118
jmp 0x44221e
movzx eax, word [esp + 0x66]
mov dword [esp + 0x8c], ebp
movzx edx, word [esp + 0x6e]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xac], ebp
mov word [esp + 0x6e], ax
mov word [esp + 0x66], dx
mov dword [esp + 0x5c], 7
jmp 0x442416
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x98], edx
movzx edx, word [esp + 0x6c]
mov dword [esp + 0xa8], eax
movzx eax, word [esp + 0x64]
mov dword [esp + 0x58], 6
mov word [esp + 0x64], dx
mov word [esp + 0x6c], ax
jmp 0x442309
mov dword [esp + 0x84], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x94], edx
movzx edx, word [esp + 0x6a]
mov dword [esp + 0xa4], eax
movzx eax, word [esp + 0x62]
mov dword [esp + 0x54], 5
mov word [esp + 0x62], dx
mov word [esp + 0x6a], ax
jmp 0x4422e0
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x90], edx
movzx edx, word [esp + 0x68]
mov dword [esp + 0xa0], eax
movzx eax, word [esp + 0x60]
mov dword [esp + 0x50], 4
mov word [esp + 0x60], dx
mov word [esp + 0x68], ax
jmp 0x4422b7
mov edx, dword [esp + 0x90]
xor ebx, ebx
mov ecx, 2
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0xac]
cmp eax, edx
setl bl
cmp edx, eax
cmovle eax, edx
mov edx, dword [esp + 0x98]
cmp eax, edx
cmovle ecx, ebx
cmp edx, eax
mov ebx, 3
cmovle eax, edx
mov edx, dword [esp + 0x9c]
cmp eax, edx
cmovle ebx, ecx
cmp edx, eax
mov ecx, 4
cmovle eax, edx
mov edx, dword [esp + 0xa0]
cmp eax, edx
cmovle ecx, ebx
cmp edx, eax
mov ebx, 5
cmovle eax, edx
mov edx, dword [esp + 0xa4]
cmp eax, edx
cmovle ebx, ecx
mov ecx, dword [esp + 0xa8]
cmp edx, eax
cmovle eax, edx
mov edx, 6
cmp eax, ecx
cmovle edx, ebx
cmp ecx, eax
mov ebx, 7
cmovle eax, ecx
cmp esi, eax
cmovg esi, eax
mov eax, dword [esp + 0x4c]
cmovge ebx, edx
test eax, eax
jle 0x442863
mov edx, dword [esp + 0x4c]
mov ebp, ebx
and ebp, 3
shr edx, 2
cmp dword [esp + 0x4c], 8
lea edi, [edx*4]
seta cl
test byte [esp + 0x104], 3
sete al
test cl, al
je 0x44287c
test edi, edi
je 0x44287c
mov dword [esp + 8], esi
mov esi, dword [esp + 0x104]
mov ecx, ebp
lea eax, [esp + 0xb0]
shl ecx, 4
mov dword [esp + 4], ebx
add ecx, eax
xor eax, eax
mov esi, esi
lea edi, [edi]
mov ebx, dword [ecx + eax*4]
mov dword [esi + eax*4], ebx
add eax, 1
cmp edx, eax
ja 0x442820
cmp edi, dword [esp + 0x4c]
mov esi, dword [esp + 8]
mov ebx, dword [esp + 4]
je 0x442863
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xb0]
mov edx, ebp
mov ebp, dword [esp + 0x104]
shl edx, 4
add edx, eax
movzx eax, byte [edx + edi]
mov byte [ebp + edi], al
add edi, 1
cmp ecx, edi
jg 0x442854
mov eax, dword [esp + 0x104]
sar ebx, 2
add byte [eax], bl
add esp, 0xf0
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
xor edi, edi
jmp 0x44283b