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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [esp + 0x64]
mov eax, dword [0x595264]
push ebx
mov ebx, dword [edx]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
je 0x53462a
call eax
test eax, eax
je 0x53462a
mov eax, dword [esp + 0x74]
pop edi
mov dword [eax], 0x55
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x3c
mov ecx, dword [esp + 0x98]
mov eax, 0xfffffffe
push esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x10]
lea edx, [ecx + 6]
mov dword [esp + 0x64], ebx
mov dword [esp + 0xc], edx
cmp byte [ebx], 0x85
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], eax
jne 0x53469a
xor eax, eax
mov ah, byte [ebx + 3]
lea edx, [esp + 0x58]
mov al, byte [ebx + 4]
mov word [esp + 0x5e], di
mov dword [esp + 0x44], eax
mov word [esp + 0x5c], ax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x58], eax
mov dword [esi + 0x24], edx
mov edi, dword [esp + 0xa4]
lea eax, [ebx + 1]
mov byte [eax], 0
mov dword [esp + 0x50], eax
lea eax, [ebx + 2]
neg edi
mov byte [eax], 0
mov dword [esp + 0x54], eax
sbb edi, edi
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esi + 0x40]
and edi, eax
lea ebx, [ebx + ecx + 3]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x30], edi
cmp dword [esp + 0x84], 0
mov dword [esp + 0x20], ebx
je 0x5346e8
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x40], ecx
cmp dword [esp + 0x80], 0
je 0x53470f
mov byte [ebx], 0x7c
add ebx, 1
mov byte [ebx], 0
mov byte [ebx + 1], 0
mov dword [esp + 0x44], ebx
add ebx, 2
add dword [esp + 0x10], 3
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x8c]
push edi
push esi
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x48]
call fcn.00530070
test eax, eax
je 0x534900
mov eax, dword [esi + 0x40]
cmp eax, ebp
jbe 0x534765
mov dword [esp + 0x38], eax
cmp dword [esp + 0xa8], 0
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
jne 0x534898
cmp byte [ecx], 0x77
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
je 0x5347af
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x24], edx
mov dword [esp + 0xa0], eax
jmp 0x534847
cmp dword [esp + 0x18], 0
jl 0x5347ef
cmp dword [esp + 0x18], eax
jne 0x5347c6
cmp dword [esp + 0x2c], edx
mov edi, dword [esp + 0x30]
je 0x534808
cmp dword [esp + 0xa0], 0
jge 0x5347e7
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
test eax, eax
jl 0x534808
cmp dword [esp + 0xa4], 0
jge 0x534808
mov dword [esp + 0x34], edx
mov dword [esp + 0xa4], eax
mov edx, dword [esp + 0xa4]
xor edx, dword [esp + 0xa0]
test edx, 0xfffffffd
jne 0x53483c
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x24], eax
jne 0x53483c
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa4]
or dword [esp + 0xa0], eax
jmp 0x534847
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x80], 0
je 0x534898
push 0
push esi
mov edx, ebp
shr edx, 0xb
push 0
and edx, 1
push edx
push ecx
mov byte [ebx], 0
call fcn.0052dae0
cmp eax, 0xfffffffd
jne 0x534876
mov dword [esi + 0x74], 1
jmp 0x534894
test eax, eax
jl 0x534916
cmp eax, dword [esi + 0x48]
jle 0x534886
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x44]
mov edx, eax
sar edx, 8
mov byte [ecx], dl
mov byte [ecx + 1], al
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp byte [eax], 0x7c
jne 0x534965
cmp dword [esp + 0xa8], 0
je 0x5348d3
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov eax, dword [esp + 0x88]
add dword [esp + 0x10], 3
add dword [esp + 0x14], 1
mov ebp, dword [esp + 0x38]
lea ebx, [edx + eax + 3]
jmp 0x5346d3
mov ebp, dword [esp + 0x38]
mov edx, ebx
sub edx, ecx
mov byte [ebx], 0x77
mov al, bl
sar edx, 8
mov byte [ebx + 1], dl
sub al, cl
mov byte [ebx + 2], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x68], ebx
add ebx, 3
add dword [esp + 0x14], 1
jmp 0x5346d3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
pop ebp
pop esi
pop edi
mov dword [edx], ecx
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x3c
cmp eax, 0xfffffffe
jne 0x53493c
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
pop ebp
mov eax, 0x24
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
pop esi
pop edi
mov dword [eax], edx
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x3c
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
sub eax, 0xfffffffc
neg eax
sbb eax, eax
and eax, 0xffffffd3
add eax, 0x46
pop ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
pop esi
pop edi
mov dword [eax], edx
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x3c
mov edi, dword [esp + 0xa8]
test edi, edi
jne 0x534998
mov eax, ebx
sub eax, ecx
xor edx, edx
mov dh, byte [ecx + 1]
mov dl, byte [ecx + 2]
mov byte [ecx + 2], al
mov edi, edx
mov edx, eax
sar edx, 8
mov byte [ecx + 1], dl
sub ecx, edi
test edi, edi
mov eax, edi
jg 0x534974
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0x28]
mov ecx, ebx
sub ecx, eax
mov dl, bl
mov byte [ebx], 0x78
sar ecx, 8
sub dl, al
mov byte [ebx + 1], cl
mov byte [ebx + 2], dl
add ebx, 3
cmp dword [esp + 0x48], 0
jle 0x534a2d
mov ecx, dword [esi + 0x24]
cmp word [ecx + 6], 0
je 0x534a25
mov edx, dword [esp + 0x50]
push edx
shr ebp, 0xb
and ebp, 1
push ebp
push 3
push eax
mov byte [ebx], 0
call fcn.0052fb70
mov edi, dword [esp + 0x28]
mov ecx, ebx
sub ecx, edi
lea eax, [edi + 3]
call fcn.0052cf00
mov edx, dword [esp + 0x58]
add ebx, 3
mov ecx, edi
mov edi, dword [esp + 0xa8]
mov byte [ecx], 0x81
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x54]
sar eax, 8
mov byte [ecx], al
mov cl, bl
sub cl, byte [esp + 0x28]
add ebx, 3
mov byte [edx], cl
mov byte [ebx - 3], 0x78
mov byte [ebx - 2], al
mov byte [ebx - 1], cl
add dword [esp + 0x10], 6
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov dword [esi + 0x24], ecx
test edi, edi
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x40], edx
mov edx, dword [esp + 0x14]
mov dword [eax], ebx
mov eax, dword [esp + 0x90]
mov dword [ecx], edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x94]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
mov dword [edx], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x9c]
mov dword [ecx], edx
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
je 0x534aaa
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, 0x7fffffeb
sub edx, eax
cmp edx, ecx
jge 0x534aa6
mov eax, dword [esp + 0x7c]
pop ebp
pop esi
pop edi
mov dword [eax], 0x14
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x3c
add eax, ecx
mov dword [edi], eax
pop ebp
pop esi
pop edi
mov eax, 1
pop ebx
add esp, 0x5c
ret 0x3c