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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, dword [esp + 0x88]
push ebp
push esi
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0x98]
lea eax, [esi + ebx]
mov dword [esp + 0x28], edi
cdq
sub eax, edx
mov dword [esp + 0x2c], ebx
mov ebp, eax
lea eax, [edi + ecx]
cdq
sub eax, edx
lea edx, [esp + 0x24]
sar ebp, 1
sar eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 8
mov edx, dword [esp + 0x18]
add edx, 8
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
jne 0x547409
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], 0
cmp edx, ebp
jne 0x54753c
cmp dword [esp + 0xa8], edi
jne 0x54753c
mov edx, ecx
mov dword [esp + 0x28], eax
sub edx, edi
mov eax, 0x2aaaaaab
mov dword [esp + 0x18], edx
imul edx
mov edi, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ebx
lea eax, [edi + edx]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov eax, 0x55555556
imul dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x3c], ebx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], ecx
lea eax, [edi + edx]
mov edi, esi
mov dword [esp + 0x38], eax
sub edi, ebx
mov eax, 0x2aaaaaab
mov dword [esp + 0x48], ecx
imul edi
mov eax, edx
mov dword [esp + 0x50], ecx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x60], ecx
lea eax, [edx + ebx]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], eax
mov eax, 0x55555556
imul edi
mov eax, edx
mov dword [esp + 0x70], ecx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
add eax, ebp
add ebx, edx
mov dword [esp + 0x5c], eax
add ebp, edx
mov edx, dword [esp + 0x10]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], 0xd
mov dword [esp + 0x88], ecx
jmp 0x547aa7
cmp dword [esp + 0xa4], ebx
jne 0x54777a
mov edx, dword [esp + 0xa8]
cmp edx, edi
jne 0x5475e5
mov edx, esi
mov eax, 0x2aaaaaab
sub edx, ebx
mov ebx, ecx
mov dword [esp + 0x10], edx
imul edx
mov eax, edx
sub ebx, edi
shr eax, 0x1f
add edx, eax
mov eax, 0x55555556
add edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
imul dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x30], ecx
shr eax, 0x1f
add edx, eax
mov eax, 0x2aaaaaab
add edx, ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
imul ebx
mov eax, edx
mov dword [esp + 0x40], ecx
shr eax, 0x1f
add edx, eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], eax
mov eax, 0x55555556
imul ebx
mov eax, edx
mov dword [esp + 0x3c], esi
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x44], esi
sub ecx, edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], esi
jmp 0x547a9b
cmp edx, eax
jne 0x5476e5
mov edx, esi
mov eax, 0x2aaaaaab
sub edx, ebx
mov ebx, ecx
mov dword [esp + 0x10], edx
imul edx
mov eax, edx
sub ebx, edi
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], ecx
lea eax, [edx + ebp]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
mov eax, 0x55555556
imul dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x40], ecx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], esi
lea eax, [edx + ebp]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], eax
mov eax, 0x2aaaaaab
imul ebx
mov eax, edx
mov dword [esp + 0x54], esi
shr eax, 0x1f
add edx, eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x48], eax
mov eax, 0x55555556
imul ebx
mov eax, edx
mov ebx, dword [esp + 0x10]
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
sub ecx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], ecx
mov ecx, eax
sub ecx, ebx
sub eax, edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], esi
sub esi, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edi
mov dword [esp + 0x10], 0xd
jmp 0x547aa7
cmp edx, ecx
jne 0x54777a
mov dword [esp + 0x28], eax
sub ecx, edi
mov eax, 0x2aaaaaab
mov dword [esp + 0x24], esi
imul ecx
mov eax, edx
mov dword [esp + 0x2c], esi
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], eax
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x20]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
sub ecx, ebx
mov dword [esp + 0x38], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
mov dword [esp + 0x3c], esi
shr eax, 0x1f
add edx, eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
mov dword [esp + 0x48], edi
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x50], edi
sub esi, edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], edi
jmp 0x547a9f
cmp dword [esp + 0xa4], ebp
jne 0x547876
cmp dword [esp + 0xa8], ecx
jne 0x547876
mov dword [esp + 0x28], eax
sub ecx, edi
mov eax, 0x2aaaaaab
mov dword [esp + 0x24], esi
imul ecx
mov eax, edx
mov dword [esp + 0x2c], esi
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x20]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
sub ecx, ebx
mov dword [esp + 0x38], eax
mov eax, 0x2aaaaaab
mov dword [esp + 0x18], edx
imul ecx
mov eax, edx
mov dword [esp + 0x34], esi
shr eax, 0x1f
add edx, eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
mov dword [esp + 0x3c], esi
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ebp
mov eax, ebp
sub esi, edx
sub ebp, edx
mov edx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], edi
lea eax, [edx + edi]
mov dword [esp + 0x48], edi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], edi
add edi, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebx
jmp 0x547524
cmp dword [esp + 0xa4], esi
jne 0x547aa7
mov edx, dword [esp + 0xa8]
cmp edx, ecx
jne 0x547919
sub esi, ebx
mov eax, 0x2aaaaaab
imul esi
mov eax, edx
mov dword [esp + 0x24], ebp
shr eax, 0x1f
add edx, eax
mov eax, ebp
sub eax, edx
sub ecx, edi
mov dword [esp + 0x2c], eax
mov eax, 0x55555556
imul esi
mov eax, edx
mov dword [esp + 0x28], edi
shr eax, 0x1f
add edx, eax
mov eax, 0x2aaaaaab
sub ebp, edx
imul ecx
mov eax, edx
mov dword [esp + 0x30], edi
shr eax, 0x1f
add edx, eax
mov eax, 0x55555556
add edx, edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], edx
imul ecx
mov ecx, edx
mov dword [esp + 0x38], edi
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x3c], ebx
add edx, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edx
jmp 0x547a9f
cmp edx, eax
jne 0x547a0f
sub esi, ebx
mov eax, 0x2aaaaaab
imul esi
mov eax, edx
mov dword [esp + 0x28], edi
shr eax, 0x1f
add edx, eax
mov eax, ebp
sub eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
mov eax, 0x55555556
imul esi
mov eax, edx
mov esi, ecx
shr eax, 0x1f
add edx, eax
mov eax, ebp
sub eax, edx
sub esi, edi
mov dword [esp + 0x34], eax
mov eax, 0x2aaaaaab
mov dword [esp + 0x18], edx
imul esi
mov eax, edx
mov dword [esp + 0x30], edi
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x40], edi
lea eax, [edx + edi]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], eax
mov eax, 0x55555556
imul esi
mov esi, dword [esp + 0x10]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
add esi, eax
add edi, edx
add eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
lea eax, [edx + ebx]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
add ebx, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x10], 0xd
jmp 0x547aa7
cmp edx, edi
jne 0x547aa7
mov edx, ecx
mov dword [esp + 0x28], eax
sub edx, edi
mov eax, 0x2aaaaaab
mov dword [esp + 0x18], edx
imul edx
mov edi, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x55555556
add edx, edi
sub esi, ebx
mov dword [esp + 0x30], edx
imul dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x24], ebx
shr eax, 0x1f
add edx, eax
mov eax, 0x2aaaaaab
add edx, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], edx
imul esi
mov eax, edx
mov dword [esp + 0x34], ebx
shr eax, 0x1f
add edx, eax
mov eax, 0x55555556
add edx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
imul esi
mov eax, edx
mov dword [esp + 0x40], ecx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x48], ecx
add edx, ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], 7
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
push esi
push ecx
push ebx
push ebp
call fcn.00547180
mov edx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
jle 0x547b27
lea esi, [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push ebx
push ebp
call fcn.00547180
add esp, 0x10
cmp edi, eax
jle 0x547b19
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, eax
mov dword [esp + 0x1c], edx
push ecx
push edx
push ebx
push ebp
mov dword [esp + 0x30], eax
call fcn.00547180
add esp, 0x10
mov edi, eax
mov eax, dword [esp + 0x18]
add esi, 8
dec eax
mov dword [esp + 0x18], eax
jne 0x547ae7
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
mov dword [eax + 4], edx
pop ebx
add esp, 0x7c
ret