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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x54]
xor eax, eax
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0x158]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 0xf0]
mov dword [esp + 0x3c], 3
shr eax, 0xe
and eax, 1
lea ecx, [edx + 1]
mov dword [ebp + 0x1a4], eax
mov dword [edi + 0x1a4], eax
mov dword [ebx + 0x1a4], eax
mov dword [esi + 0x1a4], eax
mov eax, 0x4860a8
imul ecx, edx
mov dword [ebp + 0x168], eax
mov dword [edi + 0x168], eax
mov dword [ebx + 0x168], eax
mov dword [esi + 0x168], eax
mov eax, 0x3f
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x160], eax
mov dword [ebp + 0x160], eax
mov dword [ebx + 0x160], eax
mov dword [edi + 0x160], eax
lea eax, [edi + 0x18c]
add edx, 0x15c
mov dword [esp + 0x54], eax
mov eax, esi
sub eax, ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x24], eax
mov eax, edi
sub eax, ebx
lea edx, [ebx + 0x170]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x40], 2
mov dword [esp + 0x2c], eax
mov eax, esi
sub eax, edi
mov dword [esp + 0x44], 1
mov dword [esp + 0x30], eax
mov eax, ebp
sub eax, edi
mov dword [esp + 0x4c], 0x100000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], 6
jmp 0x455311
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x20]
imul eax, edx
imul eax, edx
shl eax, 4
xor edx, edx
div ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
shr eax, 6
mov dword [edx + ecx], eax
mov edx, dword [esp + 0x28]
mov dword [ecx], eax
mov dword [edx + ecx], eax
mov edx, dword [esp + 0x2c]
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x54]
mov dword [edx + eax], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x1c], edx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [ecx]
mov dword [edx + eax], ecx
mov edx, dword [esp + 0x58]
mov ecx, 4
add edx, ecx
add eax, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add edx, ecx
dec eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x50], eax
jne 0x45530d
mov eax, dword [esp + 0x84]
test eax, eax
je 0x45545b
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
cmp eax, 3
mov dword [ecx + 0x154], edx
mov dword [ecx + 0xec], eax
ja case.default.0x4553dc
jmp dword [eax*4 + 0x455a1c]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x455402
mov eax, dword [esp + 0x60]
cmp dword [eax + 0xec], 2
je 0x455402
mov dword [ecx + 0xec], 5
mov edx, dword [esi + 0x24]
mov ebp, 0xfffffed0
mov dword [ecx + 0x11c], edx
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x120], eax
mov edx, dword [esi + 0x160]
mov dword [ecx + 0x178], edx
mov dword [esp + 0x74], 0
lea edi, [ecx + 0x194]
lea ebx, [esi + 0x130]
sub ebp, esi
mov eax, dword [ebx - 0x20]
mov edx, dword [esi + 0x24]
add eax, edx
mov dword [edi - 0x194], eax
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x455678
mov eax, dword [ebx]
jmp 0x455683
mov eax, 3
mov dword [esp + 0x58], eax
test eax, eax
jle 0x4554d6
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x70]
push ebp
push edi
push ebx
mov eax, dword [edx - 4]
push esi
push eax
mov dword [esp + 0x98], eax
call fcn.00457c70
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x84]
push ebp
push edi
mov eax, dword [eax]
push ebx
push esi
push eax
call fcn.00457c70
mov ecx, dword [esp + 0x78]
add esp, 0x28
cmp ecx, eax
mov eax, dword [esp + 0x70]
jle 0x4554c0
mov ecx, dword [eax]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jne 0x455474
mov eax, dword [esp + 0x58]
dec eax
mov dword [esp + 0x58], eax
jns 0x455464
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x58], 4
lea eax, [edx + edx]
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x70]
push ebp
push edi
push ebx
mov eax, dword [edx]
push esi
push eax
call fcn.00457c70
mov ecx, dword [esp + 0x68]
add esp, 0x14
cmp eax, ecx
jge 0x45551a
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
add ecx, 4
dec eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x58], eax
jne 0x4554fb
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x455667
test eax, eax
mov dword [esp + 0x58], 0
jle 0x4553bb
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x70]
push ebp
push edi
push ebx
mov eax, dword [edx]
push esi
push eax
call fcn.00457c70
mov ecx, dword [esp + 0x68]
add esp, 0x14
cmp ecx, eax
jl 0x4553bb
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
sub eax, 0
je 0x455606
sub eax, 2
je 0x4555df
dec eax
je 0x4555b2
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x4c]
push ebp
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push edx
call fcn.00455a30
jmp 0x45562b
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x4c]
push edi
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
push ecx
call fcn.004572a0
add esp, 0x18
add eax, 0x10
jmp 0x45562e
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x4c]
push ebx
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call fcn.004572a0
jmp 0x45562b
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x4c]
push esi
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push edx
call fcn.004566b0
add esp, 0x18
cmp eax, dword [esp + 0x4c]
jge 0x455642
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], edx
jl 0x455555
jmp 0x4553bb
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 0
jmp 0x4553bf
mov edx, dword [esi + 0x150]
add edx, ebp
sub eax, dword [edx + ebx]
mov dword [edi], eax
mov eax, dword [ebx - 0x1c]
mov edx, dword [esi + 0x28]
add eax, edx
mov dword [edi - 0x190], eax
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x45569f
mov eax, dword [ebx + 4]
jmp 0x4556ab
mov edx, dword [esi + 0x150]
add edx, ebp
sub eax, dword [edx + ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x455709
mov eax, dword [edi - 0x194]
mov dword [edi - 0x70], eax
mov eax, dword [edi - 0x194]
cdq
sub eax, edx
sar eax, 1
mov dword [edi - 0x194], eax
mov edx, dword [edi]
mov dword [edi + 0x20], edx
mov eax, dword [edi]
cdq
sub eax, edx
sar eax, 1
mov dword [edi], eax
mov eax, dword [edi - 0x190]
mov dword [edi - 0x6c], eax
mov eax, dword [edi - 0x190]
cdq
sub eax, edx
sar eax, 1
mov dword [edi - 0x190], eax
mov edx, dword [edi + 4]
mov dword [edi + 0x24], edx
mov eax, dword [edi + 4]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 4], eax
mov eax, dword [esp + 0x60]
cmp dword [eax + 0xec], 2
jne 0x455736
mov eax, dword [esp + 0x74]
add ebx, 8
inc eax
add edi, 8
cmp eax, 4
mov dword [esp + 0x74], eax
jl 0x45543b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x18], edx
mov edx, dword [ecx + 0x194]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x198]
mov dword [ecx + 0x19c], edx
mov dword [ecx + 0x1a4], edx
mov dword [ecx + 0x1ac], edx
mov edx, dword [ecx + 0x124]
mov dword [ecx + 0x1a0], eax
mov dword [ecx + 0x1a8], eax
mov dword [ecx + 0x1b0], eax
mov eax, dword [ecx + 0x128]
mov dword [ecx + 0x12c], edx
mov dword [ecx + 0x134], edx
mov dword [ecx + 0x13c], edx
mov edx, dword [ecx + 0x1b4]
mov dword [ecx + 0x130], eax
mov dword [ecx + 0x138], eax
mov dword [ecx + 0x140], eax
mov eax, dword [ecx + 0x1b8]
pop edi
pop esi
mov dword [ecx + 0x1bc], edx
mov dword [ecx + 0x1c4], edx
mov dword [ecx + 0x1cc], edx
pop ebp
mov dword [ecx + 0x1c0], eax
mov dword [ecx + 0x1c8], eax
mov dword [ecx + 0x1d0], eax
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x455824
mov eax, dword [esp + 0x64]
mov edx, dword [edi + 0x4c]
sub edx, dword [eax]
mov dword [ecx + 0x104], edx
mov edx, dword [edi + 0x50]
sub edx, dword [eax + 4]
mov dword [ecx + 0x108], edx
mov edx, dword [edi + 0x4c]
mov dword [ecx + 0x124], edx
mov edx, dword [edi + 0x50]
mov dword [ecx + 0x128], edx
mov edx, dword [edi + 0x4c]
mov dword [eax], edx
mov edx, dword [edi + 0x50]
jmp 0x455847
mov eax, dword [esp + 0x64]
mov edx, dword [edi + 0x24]
sub edx, dword [eax]
mov dword [ecx + 0x104], edx
mov edx, dword [edi + 0x28]
sub edx, dword [eax + 4]
mov dword [ecx + 0x108], edx
mov edx, dword [edi + 0x24]
mov dword [eax], edx
mov edx, dword [edi + 0x28]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x24]
mov dword [ecx], eax
mov edx, dword [edi + 0x28]
mov dword [ecx + 4], edx
mov eax, dword [edi + 0x160]
mov dword [ecx + 0x178], eax
mov edx, dword [ebx + 0x24]
mov dword [ecx + 0x194], edx
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x198], eax
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4558ba
mov eax, dword [esp + 0x68]
mov edx, dword [ebx + 0x4c]
sub edx, dword [eax]
mov dword [ecx + 0x104], edx
mov edx, dword [ebx + 0x50]
sub edx, dword [eax + 4]
mov dword [ecx + 0x108], edx
mov edx, dword [ebx + 0x4c]
mov dword [ecx + 0x1b4], edx
mov edx, dword [ebx + 0x50]
mov dword [ecx + 0x1b8], edx
mov edx, dword [ebx + 0x4c]
mov dword [eax], edx
mov edx, dword [ebx + 0x50]
jmp 0x4558dd
mov eax, dword [esp + 0x68]
mov edx, dword [ebx + 0x24]
sub edx, dword [eax]
mov dword [ecx + 0x104], edx
mov edx, dword [ebx + 0x28]
sub edx, dword [eax + 4]
mov dword [ecx + 0x108], edx
mov edx, dword [ebx + 0x24]
mov dword [eax], edx
mov edx, dword [ebx + 0x28]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x194], eax
mov edx, dword [ebx + 0x28]
mov dword [ecx + 0x198], edx
mov eax, dword [ebx + 0x160]
mov dword [ecx + 0x178], eax
mov edx, dword [edi + 0x24]
mov dword [ecx], edx
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
pop ebx
add esp, 0x38
ret
mov edx, dword [ebp + 0x24]
mov dword [ecx], edx
mov eax, dword [ebp + 0x28]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x2c]
mov dword [ecx + 0x194], edx
mov eax, dword [ebp + 0x30]
mov dword [ecx + 0x198], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4559b3
mov edx, dword [ebp + 0x4c]
mov dword [ecx + 0x124], edx
mov eax, dword [ebp + 0x50]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp + 0x54]
mov dword [ecx + 0x1b4], edx
mov eax, dword [ebp + 0x58]
mov edx, dword [ecx + 0x124]
mov dword [ecx + 0x1b8], eax
mov eax, dword [esp + 0x64]
sub edx, dword [eax]
mov dword [ecx + 0x10c], edx
mov edx, dword [ecx + 0x128]
mov esi, dword [eax + 4]
sub edx, esi
mov esi, dword [ecx + 0x1b4]
mov dword [ecx + 0x110], edx
mov edx, dword [esp + 0x68]
sub esi, dword [edx]
mov dword [ecx + 0x104], esi
mov esi, dword [ecx + 0x1b8]
sub esi, dword [edx + 4]
mov dword [ecx + 0x108], esi
mov esi, dword [ebp + 0x4c]
mov dword [eax], esi
mov esi, dword [ebp + 0x50]
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x54]
mov dword [edx], eax
mov eax, dword [ebp + 0x58]
jmp 0x455a03
mov eax, dword [esp + 0x64]
mov edx, dword [ecx]
sub edx, dword [eax]
mov dword [ecx + 0x10c], edx
mov edx, dword [ecx + 4]
mov esi, dword [eax + 4]
sub edx, esi
mov esi, dword [ecx + 0x194]
mov dword [ecx + 0x110], edx
mov edx, dword [esp + 0x68]
sub esi, dword [edx]
mov dword [ecx + 0x104], esi
mov esi, dword [ecx + 0x198]
sub esi, dword [edx + 4]
mov dword [ecx + 0x108], esi
mov esi, dword [ebp + 0x24]
mov dword [eax], esi
mov esi, dword [ebp + 0x28]
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x2c]
mov dword [edx], eax
mov eax, dword [ebp + 0x30]
mov dword [edx + 4], eax
mov edx, dword [ebp + 0x160]
mov dword [ecx + 0x178], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret