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

Disassembly:
sub esp, 0x2f4
mov ecx, dword [esp + 0x2f8]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push ebx
mov dword [esp + 0x28], eax
push ebp
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push esi
mov esi, dword [esp + 0x308]
push edi
mov dword [esp + 0x10], eax
mov dword [esi + 0xc8], eax
xor eax, eax
mov ecx, 0x2b
lea edi, [esp + 0x1a0]
rep stosd dword es:[edi], eax
mov ecx, 0x2e
lea edi, [esp + 0x24c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0xb0]
lea ebp, [esi + 0x98]
mov ecx, edi
mov eax, ebp
mov edx, 6
lea ecx, [ecx]
mov dword [eax], 0
mov word [ecx], 0
add eax, 4
add ecx, 2
dec edx
jne 0x53fec0
xor ebx, ebx
mov edx, 0x7f
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], edx
or ecx, 0xffffffff
mov eax, 1
mov dword [esp + 0x74], edx
mov dword [esp + 0xac], edx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x3c
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov byte [esi + 0x17], bl
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa4], 0x5c2c20
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xfc], 0x5622
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x160], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x178], ebx
mov dword [esp + 0x188], ebx
mov dword [esp + 0x16c], 0xa
mov dword [esp + 0x11c], ebx
call fcn.005444b0
add esp, 4
test eax, eax
je 0x5401a4
lea esp, [esp]
mov ecx, dword [esp + 0x14]
cmp ecx, 0x2b
jge 0x5400b1
cmp ecx, 0x14
mov eax, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + ecx*4 + 0x1a0], eax
jne 0x540188
movsx ecx, byte [esi + 0x17]
mov dword [esi + ecx*4 + 0x34], eax
movsx edx, byte [esi + 0x17]
mov eax, dword [esp + 0x20]
mov dword [esi + edx*4 + 0x44], eax
inc byte [esi + 0x17]
jmp 0x540188
cmp ecx, 0x80
jl 0x540180
cmp ecx, 0xae
jge 0x540180
cmp ecx, 0x98
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + ecx*4 - 0x118], edx
mov dword [esp + ecx*4 + 0x4c], eax
jne 0x5400f4
mov dword [ebp], eax
mov ax, word [esp + 0x20]
mov word [edi], ax
jmp 0x540188
cmp ecx, 0x99
jne 0x540110
mov cx, word [esp + 0x20]
mov dword [esi + 0x9c], eax
mov word [esi + 0xb2], cx
jmp 0x540188
cmp ecx, 0x9a
jne 0x54012c
mov dx, word [esp + 0x20]
mov dword [esi + 0xa0], eax
mov word [esi + 0xb4], dx
jmp 0x540188
cmp ecx, 0x9b
jne 0x540148
mov dword [esi + 0xa4], eax
mov ax, word [esp + 0x20]
mov word [esi + 0xb6], ax
jmp 0x540188
cmp ecx, 0xa4
jne 0x540164
mov cx, word [esp + 0x20]
mov dword [esi + 0xa8], eax
mov word [esi + 0xb8], cx
jmp 0x540188
cmp ecx, 0xa5
jne 0x540188
mov dx, word [esp + 0x20]
mov dword [esi + 0xac], eax
mov word [esi + 0xba], dx
jmp 0x540188
cmp ecx, 0xfe
je 0x54019f
lea eax, [esp + 0x10]
push eax
call fcn.005444b0
add esp, 4
test eax, eax
jne 0x540070
jmp 0x5401a4
mov ebx, 1
mov dl, byte [esp + 0x44]
mov cl, byte [esp + 0x40]
mov al, byte [esp + 0x48]
mov byte [esi + 8], cl
mov cl, byte [esp + 0x4c]
mov byte [esi + 9], dl
mov dl, byte [esp + 0x54]
mov byte [esi + 0xb], cl
mov cl, byte [esp + 0x5c]
mov byte [esi + 0xc], dl
mov dl, byte [esp + 0x60]
mov byte [esi + 0xe], cl
mov cl, byte [esp + 0x6c]
mov byte [esi + 0xa], al
mov al, byte [esp + 0x58]
mov byte [esi + 0xf], dl
mov dl, byte [esp + 0x70]
mov byte [esi + 0x11], cl
mov cl, byte [esp + 0x78]
mov byte [esi + 0xd], al
mov al, byte [esp + 0x64]
mov byte [esi + 0x12], dl
mov dx, word [esp + 0x7c]
mov byte [esi + 0x15], cl
mov ecx, dword [esp + 0x1e8]
mov byte [esi + 0x10], al
mov al, byte [esp + 0x74]
mov word [esi + 4], dx
mov edx, dword [esp + 0x84]
add ecx, edx
mov edx, dword [esp + 0x98]
mov byte [esi + 0x14], al
mov ax, word [esp + 0x80]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x1fc]
add ecx, edx
mov edx, dword [esp + 0xa4]
mov word [esi + 6], ax
mov al, byte [esp + 0x88]
mov byte [esi + 0x16], al
mov eax, dword [esp + 0x204]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0xa0]
add eax, ecx
mov ecx, dword [esp + 0xd8]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0xd4]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0xdc]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x88], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esi + 0x8c], edx
mov dl, byte [esp + 0xac]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x214]
mov dword [esi + 0x94], ecx
mov ecx, dword [esp + 0xb0]
add eax, ecx
mov ecx, dword [esp + 0x220]
mov byte [esi + 0x1a], dl
mov dl, byte [esp + 0xb4]
mov byte [esi + 0x1b], dl
mov edx, dword [esp + 0xbc]
add ecx, edx
mov dl, byte [esp + 0xc8]
mov dword [esi + 0x2c], eax
mov al, byte [esp + 0xb8]
mov byte [esi + 0x1c], al
mov al, byte [esp + 0xc0]
mov dword [esi + 0x30], ecx
mov cx, word [esp + 0xc4]
mov byte [esi + 0x1d], al
mov ax, word [esp + 0xcc]
mov word [esi + 0x54], cx
mov cl, byte [esp + 0xd0]
mov byte [esi + 0x1e], dl
mov dl, byte [esp + 0xe8]
mov word [esi], ax
mov byte [esi + 0x1f], cl
mov al, byte [esp + 0x168]
mov byte [esi + 0x13], al
mov eax, dword [esp + 0xfc]
mov cl, byte [esp + 0xf0]
mov byte [esi + 2], dl
mov dx, word [esp + 0xf8]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x104]
mov word [esi + 0x56], dx
mov edx, dword [esp + 0x100]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x274]
mov dword [esi + 0x5c], edx
mov dx, word [esp + 0x118]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x158]
mov word [esi + 0x18], dx
mov edx, dword [esp + 0x108]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x15c]
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x160]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x138]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x164]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x180]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x184]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x38], eax
xor edi, edi
xor eax, eax
test cl, cl
mov byte [esi + 3], cl
mov dword [esi + 0x7c], edx
jle 0x540463
lea edx, [esi + 0xbc]
jmp 0x540410
cmp byte [0x669e0f], 2
jne 0x540423
cmp byte [esi + 3], 2
jne 0x540423
mov dword [esp + eax*4 + 0x24], edi
movsx ecx, byte [esi + 3]
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*2]
mov cx, word [ecx*2 + 0x66a088]
add cx, word [esp + eax*4 + 0x24]
inc eax
mov word [edx], cx
movsx ecx, byte [esi + 3]
add edx, 2
cmp eax, ecx
jl 0x540410
mov eax, dword [esp + 0x308]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], edx
pop ebp
mov eax, ebx
pop ebx
add esp, 0x2f4
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x308]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword [edx], ecx
pop ebx
add esp, 0x2f4
ret