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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x559b33
sub esp, 0x90
mov ecx, dword [esp + 0xa4]
cmp ecx, 2
jne 0x559263
mov edx, dword [esp + 0xa0]
cmp word [edx], 0x7069
je 0x559365
jmp 0x559a88
cmp ecx, 3
je 0x5592ee
cmp ecx, 4
jne 0x559a81
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x6629cb]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402530
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x5592c3
mov ecx, dword [esp + 0xa0]
cmp dword [ecx], 0x34706374
je 0x5593ad
cmp dword [ecx], 0x36706374
je 0x5593ad
jmp 0x5592e2
mov ecx, dword [esp + 0xa0]
cmp dword [ecx], 0x34706475
je 0x5593ad
cmp dword [ecx], 0x36706475
je 0x5593ad
mov ecx, dword [esp + 0xa4]
jmp 0x559a81
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x6627c7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402530
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x559384
mov ecx, dword [esp + 0xa0]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x559347
cmp byte [ecx + 2], 0x34
jne 0x559342
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
jmp 0x559365
cmp dx, 0x7069
jne 0x559a7a
cmp byte [ecx + 2], 0x36
jne 0x559a7a
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x559379
mov eax, dword [esp + 0xa8]
jmp 0x55937d
xor ebx, ebx
xor eax, eax
xor ebp, ebp
jmp 0x559480
mov ecx, dword [esp + 0xa0]
cmp word [ecx], 0x6374
jne 0x559398
cmp byte [ecx + 2], 0x70
je 0x5593ad
cmp word [ecx], 0x6475
jne 0x559a7a
cmp byte [ecx + 2], 0x70
jne 0x559a7a
mov edx, dword [esp + 0xac]
test edx, edx
jne 0x5593c3
xor eax, eax
xor edx, edx
xor ebx, ebx
jmp 0x55946c
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00558c10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
test edx, edx
jne 0x559a44
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], esi
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x9c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xa0]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.0055bdf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x559a0e
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0xa4]
mov ebp, eax
mov eax, ebx
mov ebx, edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea esi, [0x559b40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebp
test ebx, ebx
jne 0x5597a8
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045f63b
mov ecx, dword [esp + 0xa4]
cmp ecx, 2
jne 0x5594e5
cmp word [edx], 0x7069
je 0x5595bb
jmp 0x559b2f
mov dword [esp + 0x34], ebp
cmp ecx, 3
je 0x559565
cmp ecx, 4
jne 0x559b2b
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x6629cb]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.00402530
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x559541
mov eax, dword [esp + 0xa0]
cmp dword [eax], 0x34706374
je 0x559639
cmp dword [eax], 0x36706374
je 0x559639
jmp 0x559ad4
mov eax, dword [esp + 0xa0]
cmp dword [eax], 0x34706475
je 0x5596bf
cmp dword [eax], 0x36706475
je 0x5596bf
jmp 0x559ad4
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x6627c7]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.00402530
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x559625
mov eax, dword [esp + 0xa0]
movzx ecx, word [eax]
cmp cx, 0x7069
jne 0x5595ab
cmp byte [eax + 2], 0x34
je 0x5595bb
cmp cx, 0x7069
jne 0x559ad4
cmp byte [eax + 2], 0x36
jne 0x559ad4
lea eax, [0x641c60]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5595ed
mov dword [edi], eax
jmp 0x5595f2
call fcn.0045f3a0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x55960c
mov dword [edi + 0xc], eax
jmp 0x55961a
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045f3a0
mov edi, edx
lea eax, [0x6cfd78]
jmp 0x55972b
mov eax, dword [esp + 0xa0]
cmp word [eax], 0x6374
jne 0x5596aa
cmp byte [eax + 2], 0x70
jne 0x5596aa
lea eax, [0x647800]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x55966b
mov dword [edi], eax
jmp 0x559670
call fcn.0045f3a0
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x559691
mov dword [edi + 0x10], eax
jmp 0x55969f
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045f3a0
mov edi, edx
lea eax, [0x6cfd90]
jmp 0x55972b
cmp word [eax], 0x6475
jne 0x559ad4
cmp byte [eax + 2], 0x70
jne 0x559ad4
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x5596f1
mov dword [edi], eax
jmp 0x5596f6
call fcn.0045f3a0
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x559717
mov dword [edi + 0x10], eax
jmp 0x559725
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045f3a0
mov edi, edx
lea eax, [0x6cfda8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], eax
lea ecx, [0x6301e0]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x84d450]
test ecx, ecx
jne 0x55975e
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp 0x55976e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.0045f3a0
mov eax, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0x90
ret
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0055afb0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x5599d8
mov dword [esp + 0x38], ebp
cmp ebp, 1
je 0x559812
xor eax, eax
jmp 0x559861
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [0x820758]
mov esi, dword [0x82075c]
mov edi, dword [0x820760]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.005562f0
movzx eax, byte [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
test al, al
je 0x559928
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.0045f63b
mov ecx, dword [0x826378]
mov edx, dword [0x82637c]
mov eax, ebx
mov ebx, dword [0x826380]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
lea ecx, [ebp + 1]
cmp esi, ecx
jae 0x5598d4
lea edx, [0x641c60]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.004484a0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov ebp, dword [esp + 0x38]
mov eax, ebx
mov dword [esp + 0x38], ecx
mov edx, dword [0x84d450]
lea ebx, [ebp + ebp*4]
lea edi, [eax + ebx*4]
test edx, edx
jne 0x5598f6
mov edx, esi
lea esi, [esp + 0x7c]
call fcn.0045fb1e
jmp 0x559920
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], esi
lea eax, [0x641c60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00410a60
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov esi, edx
mov ebp, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x559951
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + eax - 1]
cmp byte [edx], 0x34
jne 0x55994d
test eax, eax
lea edx, [0x67c900]
jmp 0x55995d
test eax, eax
jmp 0x559958
mov ecx, dword [esp + 0xa0]
mov edx, 0
je 0x55996e
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x36
jne 0x55996e
lea edx, [0x67c904]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
lea eax, [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.005588b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebp
add esp, 0x90
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0x90
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
add esp, 0x90
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebp
add esp, 0x90
ret
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00408e30
mov eax, dword [esp + 8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ecx, [0x6cf7e8]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0x90
ret
mov dword [esp], 0
lea ecx, [0x6682db]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
call fcn.0044b990
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408e30
mov eax, dword [esp + 8]
lea ecx, [0x634440]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434270
mov eax, edx
jmp 0x559ad4
mov eax, edx
jmp 0x559ad4
call fcn.0045df90
jmp fcn.00559220