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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov eax, dword [esi + 0xd8]
mov ebx, dword [esi]
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 8]
lea edi, [eax + ecx*2]
mov eax, 0x86
cmp word [edi], ax
mov ecx, edi
setne dl
lea edx, [edx*2 + 4]
add edx, edi
mov dword [esp + 0x18], edx
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
je 0x5363a3
lea eax, [esp + 0x10]
mov dword [esp + 0x24], ecx
push eax
push ecx
push edx
push esi
mov dword [esp + 0x20], 0
call fcn.00543e10
mov dword [esp + 0x2c], eax
add esp, 0x10
xor eax, eax
mov dword [esp + 0x2c], 0
xor edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], edx
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esi + 0x1c], eax
nop
movzx eax, word [ecx + 2]
inc edx
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
je 0x5363f0
push ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 0
call fcn.0054b060
mov ecx, dword [esi + 0xd8]
add esp, 4
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xd8]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 4]
test edx, edx
je 0x536450
nop dword [eax]
mov ecx, dword [edx]
test ecx, ecx
je 0x536449
test esi, esi
je 0x536449
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], esi
or eax, 1
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
test edx, edx
jne 0x536430
push 0
push 3
push ebx
call fcn.0054a2e0
mov esi, dword [ebp + 8]
push esi
call fcn.0053c280
xor eax, eax
cmp dword [esp + 0x30], 1
setg al
inc eax
mov dword [esp + 0x24], eax
add eax, dword [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x50], eax
call fcn.0052ae90
mov eax, dword [esp + 0x2c]
push 0
push 3
lea eax, [eax*4 - 4]
push eax
push 0x8b
push 0x20
push ebx
mov dword [esp + 0x80], eax
call fcn.0054b290
push dword [esp + 0x40]
push dword [esp + 0x6c]
push dword [esp + 0x4c]
push 0
push dword [esp + 0x64]
push dword [esp + 0x5c]
push esi
call fcn.0053b3d0
add esp, 0x4c
push 0
push 0xb
push dword [esi + 0x30]
push 0x8d
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
test byte [esp + 0x10], 0x10
je 0x5364f9
push 0
push 0x40
push dword [esi + 0x44]
push 0x8d
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
cmp dword [esp + 0x20], 1
jle 0x536516
push 0
push 2
push 0
push 0x8b
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
mov edx, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ecx, edx
mov dword [esp + 0x68], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xf0], 0
mov dword [esp + 0x68], ecx
movzx eax, word [edi + 2]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea edi, [edi + eax*2]
mov dword [esp + 0x48], edi
cmp ecx, edx
je 0x53659e
cmp dword [ebx], 0
jne 0x53659e
push 0
push 0x8b
push 0
push 2
push 1
push ebx
call fcn.00540380
add esp, 0x18
test eax, eax
je 0x53659a
mov byte [eax], 0x8b
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x58]
push eax
push edi
push ecx
push esi
call fcn.005359f0
add esp, 0x10
cmp dword [ebx], 0
jne 0x53718a
cmp dword [esp + 0x20], 1
jg 0x5365ca
test byte [esp + 0x10], 2
mov eax, 4
je 0x5365cf
mov eax, 8
mov esi, dword [esi]
push eax
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x62
push esi
call fcn.0054b4d0
push 0
push 0xa
push 0
push 0xb
push 2
push esi
call fcn.00549aa0
mov edx, dword [ebp + 8]
add esp, 0x38
mov ebx, eax
mov edi, dword [edx]
cmp dword [edi], 0
jne 0x536636
push 0xc
push edi
call fcn.00540720
mov esi, eax
add esp, 8
test esi, esi
je 0x53663a
push edi
mov dword [esi], ebx
call fcn.0054b060
mov edi, dword [ebp + 8]
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [edi + 0xd0]
mov dword [esi + 8], eax
mov dword [edi + 0xd0], esi
jmp 0x53663d
mov edi, edx
jmp 0x53663d
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x44]
mov eax, dword [edi + 0x30]
cmp dword [ebx], 0
jne 0x536668
add eax, 0x20
push eax
push 0x8d
push 0
push 3
push 1
push ebx
call fcn.00540380
add esp, 0x18
test eax, eax
je 0x536668
mov byte [eax], 0x8b
mov eax, dword [esp + 0x20]
cmp eax, 1
jg 0x536678
test byte [esp + 0x10], 2
je 0x5366ab
cmp eax, 3
jle 0x536693
push 4
push 0x8b
push ebx
call fcn.0054bd60
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x5366ab
push dword [esp + 0x28]
push 0x40
push 4
push 0x8b
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
push 0x22
push ebx
call fcn.0054afd0
add esp, 8
mov esi, eax
cmp dword [ebx], 0
jne 0x5366d9
push 8
push ebx
call fcn.00540720
add esp, 8
test eax, eax
je 0x5366d9
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x28], 0
jne 0x5368c7
cmp dword [ebx], 0
je 0x5366ed
xor esi, esi
jmp 0x536742
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x5366fc
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x4c]
je 0x536742
push 0xc
push ebx
call fcn.00540720
mov esi, eax
add esp, 8
test esi, esi
je 0x536742
mov dword [esi], 0
mov eax, dword [ebx + 0x4c]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x536724
mov dword [eax], esi
jmp 0x536727
mov dword [ebx + 8], esi
push 2
push ebx
mov dword [ebx + 0x18], esi
call fcn.00540780
add esp, 8
test eax, eax
jne 0x53673d
xor esi, esi
jmp 0x536742
mov word [eax], 0
mov eax, dword [edi + 0xd8]
mov dword [eax + 8], esi
mov eax, dword [edi + 0xd8]
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 8]
test edx, edx
je 0x536780
nop dword [eax + eax]
mov ecx, dword [edx]
test ecx, ecx
je 0x536779
test esi, esi
je 0x536779
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], esi
or eax, 1
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
test edx, edx
jne 0x536760
cmp dword [ebx], 0
jne 0x53679e
push 2
push ebx
call fcn.00540780
add esp, 8
test eax, eax
je 0x53679e
mov byte [eax], 1
inc dword [ebx + 0x4c]
mov byte [eax + 1], 0x58
mov esi, dword [esp + 0x10]
and esi, 2
je 0x5367c1
push 0xffffffffffffffff
push 0x40
push 4
push 0x8b
push 0
push ebx
call fcn.00549aa0
add esp, 0x18
mov dword [esp + 0x4c], eax
cmp dword [ebx], 0
jne 0x5367e3
push 0
push 0x8b
push 0
push 3
push 1
push ebx
call fcn.00540380
add esp, 0x18
test eax, eax
je 0x5367e3
mov byte [eax], 0x8b
push 0
push 1
push dword [esp + 0x58]
push 0x83
push 0x20
push ebx
call fcn.0054b290
push dword [esp + 0x28]
push dword [esp + 0x54]
push dword [esp + 0x34]
push 4
push dword [esp + 0x4c]
push dword [esp + 0x44]
push edi
call fcn.0053b3d0
mov edi, dword [esp + 0x54]
add esp, 0x34
cmp edi, 1
jle 0x53689d
push 4
push 0x8b
push 0
push 1
push 0x20
push ebx
call fcn.0054b290
mov esi, dword [ebp + 8]
push 8
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [esi]
call fcn.0054b4d0
add esp, 0x38
push 0
cmp edi, 3
jle 0x536883
push 1
push 0x22
push ebx
call fcn.0054aef0
push ebx
call fcn.0054b060
mov ecx, dword [esp + 0x44]
add esp, 0x14
test ecx, ecx
je 0x536873
mov dword [ecx + 4], eax
push 8
push ebx
call fcn.0054b0d0
add esp, 8
jmp 0x53692f
push 0x40
push 0
push 1
push 1
push ebx
call fcn.00549aa0
add esp, 0x18
mov dword [esp + 0x34], eax
jmp 0x53692f
xor eax, eax
test esi, esi
mov esi, dword [ebp + 8]
setne al
lea eax, [eax*4 + 4]
push eax
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [esi]
call fcn.0054b4d0
add esp, 0x20
jmp 0x53692f
mov esi, dword [esp + 0x20]
push ebx
call fcn.0054b060
add esp, 4
cmp esi, 3
jle 0x5368f1
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x5368e4
mov dword [ecx + 4], eax
push 8
push ebx
call fcn.0054b0d0
add esp, 8
jmp 0x53692c
mov edx, dword [esp + 0x34]
test edx, edx
je 0x53690c
test eax, eax
je 0x53690c
mov ecx, dword [edx + 8]
and ecx, 0xfffffffd
mov dword [edx + 0xc], eax
or ecx, 1
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x28]
inc eax
cmp eax, esi
jge 0x53692c
push 1
push 0x40
push 0
push 1
push 1
push ebx
call fcn.00549aa0
add esp, 0x18
mov dword [esp + 0x34], eax
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x60]
inc dword [esp + 0x28]
mov ebx, dword [esi]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], eax
test edi, edi
je 0x536b49
cmp dword [edi + 4], 0
je 0x5369e3
cmp dword [ebx], 0
je 0x536963
xor esi, esi
jmp 0x5369b8
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x536972
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x4c]
je 0x5369b8
push 0xc
push ebx
call fcn.00540720
mov esi, eax
add esp, 8
test esi, esi
je 0x5369b8
mov dword [esi], 0
mov eax, dword [ebx + 0x4c]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x53699a
mov dword [eax], esi
jmp 0x53699d
mov dword [ebx + 8], esi
push 2
push ebx
mov dword [ebx + 0x18], esi
call fcn.00540780
add esp, 8
test eax, eax
jne 0x5369b3
xor esi, esi
jmp 0x5369b8
mov word [eax], 0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x5369e0
nop
mov edx, dword [ecx]
test edx, edx
je 0x5369d9
test esi, esi
je 0x5369d9
mov eax, dword [edx + 8]
and eax, 0xfffffffd
mov dword [edx + 0xc], esi
or eax, 1
mov dword [edx + 8], eax
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x5369c0
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
movzx eax, word [ecx]
add eax, 0xfffffffd
cmp eax, 0xa5
ja case.0x5369fe.4
movzx eax, byte [eax + 0x5371d0]
jmp dword [eax*4 + 0x537194]
push 0
push 0x8b
push 0
push 1
push 0x20
push ebx
call fcn.0054b290
push 4
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [esi]
call fcn.0054b4d0
push 0
push 1
push dword [esi + 0x24]
push 0x8d
push 0x20
push ebx
call fcn.0054b290
add esp, 0x50
jmp case.0x5369fe.4
push edi
push esi
call fcn.00533f90
add esp, 8
jmp case.0x5369fe.4
push edi
push esi
call fcn.00537450
add esp, 8
jmp case.0x5369fe.4
cmp dword [edi + 0x1c], 0
mov ebx, dword [esi]
jne 0x536af1
mov esi, dword [edi + 0x18]
push 0x23
push ebx
mov edi, dword [esi + 8]
call fcn.0054afd0
add esp, 8
test edi, edi
jne 0x536aab
cmp dword [ebx], 0
mov edi, eax
jne 0x536abe
push 8
push ebx
call fcn.00540720
add esp, 8
test eax, eax
je 0x536abe
mov ecx, dword [esi + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], edi
mov dword [esi + 0x10], eax
jmp 0x536abe
test eax, eax
je 0x536abe
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], edi
or ecx, 1
mov dword [eax + 8], ecx
mov edi, dword [esp + 0x40]
push 0
push 0x40
push 0
mov esi, dword [edi + 0x14]
push 1
push 1
push ebx
call fcn.00549aa0
add esp, 0x18
test eax, eax
je 0x536afd
test esi, esi
je 0x536afd
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], esi
or ecx, 1
mov dword [eax + 8], ecx
jmp 0x536afd
push dword [edi + 8]
push esi
call fcn.0052e420
add esp, 8
push ebx
call fcn.0054b060
mov edx, dword [edi + 0xc]
add esp, 4
mov esi, eax
test edx, edx
je 0x536b30
nop
mov ecx, dword [edx]
test ecx, ecx
je 0x536b29
test esi, esi
je 0x536b29
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], esi
or eax, 1
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
test edx, edx
jne 0x536b10
mov ebx, dword [esp + 0x3c]
mov esi, dword [ebp + 8]
mov edi, dword [edi]
mov dword [esp + 0x40], edi
test edi, edi
jne 0x536950
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x44]
mov dword [esi + 0x1c], eax
cmp dword [ebx], 0
jne 0x53718a
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x536b6c
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x4c]
je 0x536dfb
push 0xc
push ebx
call fcn.00540720
mov esi, eax
add esp, 8
test esi, esi
jne 0x536dc6
jmp 0x536dfb
push edi
push esi
call fcn.0052c730
add esp, 8
jmp case.0x5369fe.4
push edi
push esi
call fcn.0052e940
add esp, 8
jmp case.0x5369fe.4
mov eax, 0x81
push edi
push esi
cmp word [ecx + 2], ax
jbe 0x536b88
call fcn.0052e940
add esp, 8
jmp case.0x5369fe.4
push edi
push esi
call fcn.005312c0
add esp, 8
jmp case.0x5369fe.4
mov eax, 0x81
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 4], 0
cmp word [ecx + 2], ax
jbe 0x536bfd
push edi
push ecx
push esi
call fcn.0052ff00
push dword [edi + 8]
push esi
call fcn.0052e940
add esp, 0x14
jmp case.0x5369fe.4
mov eax, dword [edi + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x6c]
push 0
push eax
push ecx
push esi
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x8c], ecx
call fcn.0052ca50
add esp, 0x10
jmp case.0x5369fe.4
mov eax, dword [esi + 0x78]
neg eax
sbb eax, eax
and eax, 0x10
push eax
push 0x8b
push 0
push 1
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
cmp dword [esi + 0x78], 0
je 0x536c85
push 0
push 0x8b
push 0
push 3
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
cmp dword [esi + 0x78], 0
mov ecx, 0x14
mov eax, 4
cmovne eax, ecx
push eax
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [esi]
call fcn.0054b4d0
push 0
push 1
push dword [esi + 0x40]
push 0x8d
push 0x20
push ebx
call fcn.0054b290
add esp, 0x38
cmp dword [esi + 0x78], 0
je case.0x5369fe.4
push 0
push 3
push dword [esi + 0x44]
push 0x8d
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
jmp case.0x5369fe.4
push edi
push esi
call fcn.00533870
add esp, 8
jmp case.0x5369fe.4
cmp dword [esi + 0x84], 0
jne 0x536d12
push 0xffffffffffffffff
push 0x40
push 0
push 1
push 0x20
push ebx
call fcn.0054b290
add esp, 0x18
mov esi, dword [esi + 0xc0]
push 0x22
push ebx
call fcn.0054afd0
add esp, 8
test esi, esi
jne 0x536d60
cmp dword [ebx], 0
mov esi, eax
jne 0x536b34
push 8
push ebx
call fcn.00540720
add esp, 8
test eax, eax
je 0x536b34
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xe0]
mov dword [eax], esi
mov esi, edx
mov dword [eax + 4], ecx
mov dword [esi + 0xe0], eax
jmp case.0x5369fe.4
test eax, eax
je 0x536b34
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], esi
or ecx, 1
mov dword [eax + 8], ecx
jmp 0x536b34
push ebx
call fcn.0054b060
mov edx, dword [edi + 0xc]
add esp, 4
mov esi, eax
test edx, edx
je 0x536b34
mov ecx, dword [edx]
test ecx, ecx
je 0x536dab
test esi, esi
je 0x536dab
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], esi
or eax, 1
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
test edx, edx
jne 0x536d92
jmp 0x536b34
push edi
push esi
call fcn.005393f0
add esp, 8
jmp case.0x5369fe.4
mov dword [esi], 0
mov eax, dword [ebx + 0x4c]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x536ddd
mov dword [eax], esi
jmp 0x536de0
mov dword [ebx + 8], esi
push 2
push ebx
mov dword [ebx + 0x18], esi
call fcn.00540780
add esp, 8
test eax, eax
jne 0x536df6
xor esi, esi
jmp 0x536dfb
mov word [eax], 0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x536e23
mov edx, dword [ecx]
test edx, edx
je 0x536e1c
test esi, esi
je 0x536e1c
mov eax, dword [edx + 8]
and eax, 0xfffffffd
mov dword [edx + 0xc], esi
or eax, 1
mov dword [edx + 8], eax
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x536e03
mov edi, dword [esp + 0x48]
cmp word [edi], 0x78
jne 0x536e3c
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
mov edx, dword [esp + 0x18]
jmp 0x536555
push ebx
call fcn.0054b060
push dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x1c]
add ecx, eax
mov esi, dword [ebp + 8]
push ecx
push eax
push 1
push dword [esp + 0x38]
push dword [esp + 0x30]
push esi
call fcn.0053b3d0
mov eax, dword [esp + 0x34]
lea eax, [eax*4 - 4]
push eax
push 0x8b
push 0
push 3
push 0x20
push ebx
call fcn.0054b290
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x54]
shl eax, 2
push eax
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [esi]
call fcn.0054b4d0
add esp, 0x58
push 0
push 0x40
push 0
push 1
push 0x20
push ebx
call fcn.0054b290
push 0
push 3
push 0x80
push ebx
call fcn.0054bc10
add esp, 0x28
cmp dword [esi + 0xe0], 0
je 0x536f69
push ebx
call fcn.0054b060
mov edx, dword [ebp + 8]
add esp, 4
mov esi, eax
mov edx, dword [edx + 0xe0]
test edx, edx
je 0x536f10
nop dword [eax]
mov ecx, dword [edx]
test ecx, ecx
je 0x536f09
test esi, esi
je 0x536f09
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], esi
or eax, 1
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
test edx, edx
jne 0x536ef0
mov esi, dword [ebp + 8]
push dword [esi + 0x30]
push 0x8d
push 0
push 0xb
push 0x20
push ebx
call fcn.0054b290
push dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
add eax, ecx
push eax
push ecx
push 2
push dword [esp + 0x4c]
push dword [esp + 0x44]
push esi
call fcn.0053b3d0
push 0x22
push ebx
call fcn.0054afd0
add esp, 0x3c
test eax, eax
je 0x536f69
test edi, edi
je 0x536f69
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], edi
or ecx, 1
mov dword [eax + 8], ecx
test byte [esp + 0x10], 2
je 0x53704d
push ebx
call fcn.0054b060
mov edx, dword [esp + 0x50]
add esp, 4
test edx, edx
je 0x536f98
test eax, eax
je 0x536f98
mov ecx, dword [edx + 8]
and ecx, 0xfffffffd
mov dword [edx + 0xc], eax
or ecx, 1
mov dword [edx + 8], ecx
push 8
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [esi]
call fcn.0054b4d0
mov edi, dword [esp + 0x34]
push 0
push 1
lea eax, [edi*4 - 4]
push eax
push 0x8b
push 0x20
push ebx
call fcn.0054b290
push dword [esp + 0x48]
mov eax, dword [esp + 0x58]
add eax, edi
push eax
push edi
mov edi, dword [esp + 0x68]
push 3
push edi
push dword [esp + 0x64]
push esi
call fcn.0053b3d0
mov eax, dword [esp + 0x68]
add esp, 0x54
lea eax, [eax*4 - 4]
push eax
push 0x8b
push 0
push 3
push 0x20
push ebx
call fcn.0054b290
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x34]
shl eax, 2
push eax
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [esi]
call fcn.0054b4d0
push 0
push 0x40
push 0
push 1
push 0x20
push ebx
call fcn.0054b290
add esp, 0x50
push 0
push 3
push 0x80
push ebx
call fcn.0054bc10
add esp, 0x10
jmp 0x537051
mov edi, dword [esp + 0x24]
cmp dword [esi + 0xf0], 0
je 0x5370db
push ebx
call fcn.0054b060
mov edx, dword [ebp + 8]
add esp, 4
mov esi, eax
mov edx, dword [edx + 0xf0]
test edx, edx
je 0x537096
mov ecx, dword [edx]
test ecx, ecx
je 0x53708f
test esi, esi
je 0x53708f
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], esi
or eax, 1
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
test edx, edx
jne 0x537076
mov esi, dword [ebp + 8]
push dword [esi + 0x30]
push 0x8d
push 0
push 0xb
push 0x20
push ebx
call fcn.0054b290
push 0
push 0xb
push 0
push 3
push 0x20
push ebx
call fcn.0054b290
push 2
push esi
call fcn.0052ae90
push 0xffffffffffffffff
push 0x40
push 4
push 0x8b
push 0x20
push ebx
call fcn.0054b290
add esp, 0x50
push ebx
call fcn.0054b060
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x537118
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x53710d
test edx, edx
je 0x53710d
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], edx
or eax, 1
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x5370f0
push 0
push 3
push 0
push 0x8b
push 0x20
push ebx
call fcn.0054b290
push dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
add eax, ecx
push eax
push ecx
push 4
push edi
push dword [esp + 0x44]
push esi
call fcn.0053b3d0
mov eax, dword [esp + 0x48]
lea eax, [eax*4 - 4]
push eax
push 0x83
push 0
push 3
push 0x20
push ebx
call fcn.0054b290
add esp, 0x4c
push 1
push 0x40
push 0
push 1
push 0x20
push ebx
call fcn.0054b290
push 0
push 3
push 0x80
push ebx
call fcn.0054bc10
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret