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

Disassembly:
sub esp, 0x90
mov eax, dword [0x8a0c44]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x34], eax
push esi
mov esi, dword [esp + 0xa0]
xor eax, eax
mov word [esi + 0x78], ax
mov eax, dword [esi + 0xb8]
mov edx, 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xe8]
mov word [esi + 0x76], dx
mov dword [eax + 0x18], ecx
push edi
lea edi, [esi + 0xf8]
mov dword [eax + 0x1c], 0
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
nop
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x44]
push ecx
call edx
mov ecx, dword [edi + 4]
add esp, 4
cmp ecx, edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 0x14], edx
jl 0x553309
jg 0x5532f5
cmp eax, dword [esp + 0x10]
jb 0x553309
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x2c]
push 2
push 0
push 0
push eax
call ecx
add esp, 0x10
jmp 0x553376
mov edx, dword [esi + 0x40]
test edx, edx
je 0x553349
push ecx
push eax
mov eax, dword [esi + 0x68]
push eax
call edx
add esp, 0xc
test al, al
je 0x553349
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x44]
push ecx
call edx
mov ecx, dword [esi + 0x2c]
push 2
push 0
mov dword [esp + 0x1c], eax
mov dword [edi], eax
mov eax, dword [esi + 0x68]
push 0
push eax
mov dword [esp + 0x28], edx
mov dword [edi + 4], edx
call ecx
add esp, 0x14
jmp 0x553376
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [esi + 0x68]
push 0
push ecx
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
push edx
mov dword [esp + 0x24], ecx
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push esi
call fcn.00442650
add esp, 0x1c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebp
push 3
mov dword [ebp], eax
mov dword [ebp + 4], ecx
call fcn.0051ee40
lea edx, [esp + 0x4c]
push edx
push 0xfffffffffffffffc
push 0xffffffffffffffff
call fcn.0051ede0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push ebp
push eax
push ecx
call fcn.0051efc0
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, dword [ebp + 4]
jg 0x553427
jl 0x5533ce
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp]
jae 0x553427
lea ebx, [esp + 0x94]
lea eax, [esp + 0x10]
push eax
mov byte [ebx], 0xff
push 1
inc ebx
call fcn.0051ee40
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, dword [ebp + 4]
jl 0x5533d5
jg 0x5533fc
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp]
jb 0x5533d5
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x94]
sub ebx, eax
push ebx
mov ecx, eax
mov eax, dword [esi + 0x38]
push 1
push ecx
push edx
call eax
add esp, 0x10
cmp eax, ebx
jne 0x553590
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push 0x552e40
push 0x5530e0
mov dword [esi + 0x94], eax
mov dword [esp + 0x60], eax
xor eax, eax
push 0x553210
mov dword [esi + 0x90], edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x4c]
push 0x553230
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0xc4]
push edx
push eax
push ecx
push esi
mov dword [esp + 0x70], ecx
call fcn.00541ca0
add esp, 0x24
test eax, eax
jne 0x5535a9
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x9c], ecx
mov dword [esi + 0x98], eax
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x44]
push ecx
call edx
mov dword [esi + 0xf4], edx
mov dword [esi + 0xf0], eax
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx]
push eax
push ecx
call fcn.0051ee60
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp eax, dword [edi + 4]
jl 0x5534ff
mov ecx, dword [esp + 0x24]
jg 0x5534fa
cmp ecx, dword [edi]
jbe 0x5534ff
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esi + 0xf0]
mov eax, dword [esi + 0xf4]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.0051ee80
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
add esp, 0xc
cmp eax, edx
jg 0x5535ad
mov ebx, dword [esp + 0x2c]
jl 0x55353b
cmp ecx, ebx
jae 0x5535ad
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
push edx
push eax
push ecx
mov dword [esp + 0x24], ebx
call fcn.0051ee80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
push eax
push ecx
push edx
push ebx
push 0
push esi
call fcn.00442650
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
push edi
push ecx
push edx
mov dword [edi], ebx
mov dword [edi + 4], eax
call fcn.0051ee60
mov ebx, dword [esp + 0x50]
add esp, 0x30
jmp 0x5532d0
mov edi, dword [esi + 0xc]
push esi
add edi, 8
call fcn.00542df0
push eax
mov eax, dword [edi]
push 0x18
push esi
push 0
call eax
add esp, 0x14
xor al, al
jmp 0x5535af
mov al, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0063ecb3
add esp, 0x90
ret