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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push edi
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], esi
call edx
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x13c]
mov edx, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esi + 0x140]
xor edi, edi
sub eax, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov ecx, esi
sub eax, dword [esi + 0x144]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call eax
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x50], ecx
jle 0x55a2c3
jmp 0x559bb0
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
push ecx
mov ecx, esi
call eax
mov dword [esp + 0x3c], eax
test eax, eax
je case.default.0x559d1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xac]
call eax
test eax, eax
je case.default.0x559d1c
mov esi, dword [esp + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 0x120]
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call edx
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc8]
mov edx, dword [esi + 0xc4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x40], edx
lea edx, [esp + 0xa0]
push edx
xor ebp, ebp
xor ebx, ebx
xor esi, esi
xor edi, edi
call eax
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x40], edi
jne 0x559c60
cmp dword [esp + 0x44], edi
je 0x559d0d
mov eax, dword [esp + 0x48]
cmp eax, 1
je 0x559c6e
cmp eax, 3
jne 0x559c9c
cmp dword [esp + 0x44], 0
je 0x559c9c
cmp dword [esp + 0x40], 0
jne 0x559c9c
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
sub eax, dword [esp + 0x20]
mov edx, dword [ecx]
sub eax, dword [esp + 0x18]
mov edx, dword [edx + 0x5c]
push eax
call edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x559ca5
cmp eax, 2
jne 0x559cd3
cmp dword [esp + 0x40], 0
je 0x559cd3
cmp dword [esp + 0x44], 0
jne 0x559cd3
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
sub eax, dword [esp + 0x24]
mov edx, dword [edx + 0x64]
sub eax, dword [esp + 0x1c]
push eax
call edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
lea edx, [esp + 0x88]
push edx
call eax
cmp dword [esp + 0x40], 0
je 0x559cfb
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x44], 0
je 0x559d0d
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x48], 0xd
ja case.default.0x559d1c
mov eax, dword [esp + 0x48]
jmp dword [eax*4 + 0x55a2d4]
test byte [esp + 0x4c], 2
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
je 0x559d4b
mov eax, edi
sub eax, ecx
sub eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
jmp 0x559d53
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x44], 0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
lea ebp, [ebx + esi]
lea ebx, [ecx + eax]
je 0x559d7d
mov esi, edi
sub esi, ecx
sub esi, edx
sub esi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
jge 0x559d7d
lea edi, [ebx + eax]
jmp 0x559d7f
sub edi, edx
cmp dword [esp + 0x40], 0
je 0x559d9d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
lea esi, [ecx + ebp]
lea eax, [esi + edx]
mov dword [esp + 0x28], eax
jmp 0x55a1dd
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
add esi, ebp
lea eax, [esi + edx]
mov dword [esp + 0x28], eax
jmp 0x55a1dd
test byte [esp + 0x4c], 2
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
je 0x559de1
mov ecx, edi
sub ecx, ebp
sub ecx, dword [esp + 0x14]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x559de9
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x20]
cmp dword [esp + 0x44], 0
lea ebx, [eax + ebp]
je 0x559e10
mov edx, edi
sub edx, ebp
sub edx, ecx
sub edx, eax
mov eax, dword [esp + 0x14]
cmp eax, edx
jge 0x559e10
lea edi, [ebx + eax]
jmp 0x559e12
sub edi, ecx
cmp dword [esp + 0x40], 0
je 0x559e2e
mov ebp, esi
sub ebp, dword [esp + 0x10]
mov eax, ebp
sub eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
jmp 0x55a1dd
mov ebp, dword [esp + 0x64]
sub ebp, dword [esp + 0x6c]
add ebp, esi
mov eax, ebp
sub eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
jmp 0x55a1dd
cmp dword [esp + 0x4c], 1
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
jne 0x559e6f
mov eax, esi
sub eax, dword [esp + 0x28]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x559e77
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add ebx, edx
cmp dword [esp + 0x40], 0
mov edx, dword [esp + 0x28]
lea ebp, [edx + eax]
je 0x559e9e
mov eax, esi
sub eax, ebp
sub eax, ecx
cmp edi, eax
jge 0x559e9e
lea esi, [edi + ebp]
jmp 0x559ea0
sub esi, ecx
cmp dword [esp + 0x44], 0
je 0x559ebe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
lea edi, [ebx + ecx]
lea eax, [edi + edx]
mov dword [esp + 0x2c], eax
jmp 0x55a1dd
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
add edi, ebx
lea eax, [edi + edx]
mov dword [esp + 0x2c], eax
jmp 0x55a1dd
cmp dword [esp + 0x4c], 1
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
jne 0x559f00
mov eax, esi
sub eax, dword [esp + 0x28]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x559f08
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
sub edi, dword [esp + 0x24]
cmp dword [esp + 0x40], 0
mov edx, dword [esp + 0x28]
lea ebp, [edx + eax]
je 0x559f2d
mov eax, esi
sub eax, ebp
sub eax, ecx
cmp ebx, eax
jge 0x559f2d
lea esi, [ebx + ebp]
jmp 0x559f2f
sub esi, ecx
cmp dword [esp + 0x44], 0
je 0x559f4b
mov ebx, edi
sub ebx, dword [esp + 0x14]
mov eax, ebx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
jmp 0x55a1dd
mov ebx, dword [esp + 0x68]
sub ebx, dword [esp + 0x70]
add ebx, edi
mov eax, ebx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
jmp 0x55a1dd
mov bl, byte [esp + 0x4c]
mov ecx, dword [esp + 0x28]
test bl, 1
je 0x559f90
mov esi, dword [esp + 0x30]
sub esi, ecx
sub esi, dword [esp + 0x10]
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub esi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
jmp 0x559f94
mov edi, dword [esp + 0x18]
test bl, 2
je 0x559fb8
mov esi, dword [esp + 0x34]
sub esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x14]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
jmp 0x559fbc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x20]
lea ebp, [ecx + edi]
lea ebx, [edx + eax]
mov eax, dword [esp + 0x34]
mov edi, eax
sub edi, dword [esp + 0x24]
cmp ebp, ecx
jge 0x559fde
mov ebp, ecx
cmp ebx, edx
jge 0x559fe4
mov ebx, edx
mov ecx, dword [esp + 0x30]
cmp esi, ecx
jle 0x559fee
mov esi, ecx
cmp edi, eax
jle 0x559ff4
mov edi, eax
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x55a1dd
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
sub eax, ecx
sub eax, esi
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x34]
sar ebp, 1
add ebp, ecx
mov ecx, dword [esp + 0x2c]
add ebp, dword [esp + 0x18]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
add ebx, ecx
add ebx, dword [esp + 0x1c]
add esi, ebp
jmp 0x55a1db
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea esi, [ecx + ebp]
lea edi, [edx + ebx]
jmp 0x55a1dd
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x7c]
sub esi, dword [eax + 0x74]
mov ebx, dword [esp + 0x1c]
sub esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ebp, esi
sub ebp, dword [esp + 0x10]
lea edi, [eax + ebx]
jmp 0x55a1dd
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x80]
sub edi, dword [eax + 0x78]
mov ebp, dword [esp + 0x18]
sub edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov ebx, edi
sub ebx, dword [esp + 0x14]
lea esi, [ecx + ebp]
jmp 0x55a1dd
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x7c]
sub esi, dword [eax + 0x74]
mov edi, dword [eax + 0x80]
sub edi, dword [eax + 0x78]
sub esi, dword [esp + 0x20]
sub edi, dword [esp + 0x24]
mov ebp, esi
sub ebp, dword [esp + 0x10]
mov ebx, edi
sub ebx, dword [esp + 0x14]
jmp 0x55a1dd
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0xc0]
push eax
call edx
mov esi, dword [eax + 8]
sub esi, dword [eax]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
lea edi, [eax + ebx]
jmp 0x55a1dd
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call edx
mov esi, dword [eax + 8]
sub esi, dword [eax]
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
sub esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, edi
call edx
mov ebx, dword [eax + 0xc]
sub ebx, dword [eax + 4]
mov eax, dword [esp + 0x14]
sub ebx, eax
sub ebx, dword [esp + 0x24]
lea edi, [ebx + eax]
jmp 0x55a1dd
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0xd0]
push edx
call eax
mov ebp, dword [eax + 8]
sub ebp, dword [eax]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub ebp, eax
sub ebp, dword [esp + 0x20]
lea edi, [ecx + ebx]
lea esi, [eax + ebp]
jmp 0x55a1dd
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov ecx, edx
sub ecx, dword [esp + 0x28]
cmp ecx, eax
jl 0x55a1dd
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
lea ebp, [esi + ecx]
lea esi, [eax + ebp]
cmp esi, edx
jle 0x55a1d7
mov edx, dword [esp + 0x1c]
lea esi, [eax + ecx]
mov eax, dword [esp + 0x84]
mov ebp, ecx
lea ebx, [eax + edx]
jmp 0x55a1db
mov ebx, dword [esp + 0x7c]
add edi, ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x4c]
call eax
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
mov ecx, edx
sub ecx, eax
cmp edi, ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
jle 0x55a265
cmp dword [esp + 0x48], 0xd
jne 0x55a265
mov ecx, dword [esp + 0x38]
cmp edi, dword [ecx + 0x14c]
jge 0x55a265
mov ebp, dword [esp + 0x54]
mov ebx, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], eax
lea esi, [eax + edi]
add esi, dword [ecx + 0x144]
mov eax, dword [esp + 0x6c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], esi
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0x70], esi
call edx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
dec ecx
cmp dword [esp + 0x50], ecx
jne case.default.0x559d1c
cmp dword [esp + 0x48], 0xd
jne case.default.0x559d1c
sub edx, eax
cmp edi, edx
jge case.default.0x559d1c
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], eax
add edi, eax
add edi, dword [ecx + 0x144]
mov eax, dword [esp + 0x6c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], edi
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x70], edi
call edx
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
inc ecx
cmp ecx, dword [esp + 0x74]
mov dword [esp + 0x50], ecx
jl 0x559bb0
mov ecx, esi
call fcn.00554480
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret