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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x78]
push edi
mov ebx, dword [ebp]
xor edi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], edi
cmp dword [ebx], edi
je 0x5026e0
xor edx, edx
mov dword [esp + 0x30], edx
jmp 0x5026f1
push 0x20
push ebx
call fcn.005118c0
add esp, 8
mov dword [esp + 0x30], eax
mov edx, eax
cmp dword [ebx], edi
jne 0x503538
mov ecx, dword [esp + 0x80]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov dword [edx + 0x10], esi
mov dword [ecx + 8], edx
movzx eax, word [esi]
mov edx, eax
mov ecx, eax
mov dword [esp + 0x14], edx
mov edx, 0x98
cmp ax, dx
jne 0x50273a
movzx eax, word [esi + 2]
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], eax
mov eax, 0x98
lea edx, [esi + 2]
cmp cx, ax
mov eax, dword [ebp + 0xc]
cmovne edx, esi
mov ecx, edx
mov dword [esp + 0x38], edx
sub ecx, dword [ebp + 8]
sar ecx, 1
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x14]
movzx eax, ax
add eax, 0xffffff79
cmp eax, 7
ja case.0x50277c.136
movzx eax, byte [eax + 0x503550]
jmp dword [eax*4 + 0x503544]
lea edi, [edx + 4]
jmp case.0x50277c.136
movzx edx, word [edx + 4]
mov eax, dword [ebp + 0x20]
lea eax, [eax + edx*4]
add edx, edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
lea edi, [edx + 6]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push edx
push ebp
call fcn.00514950
mov edx, dword [esp + 0x44]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x34], ecx
mov dword [edx + 0x18], ecx
test ecx, ecx
jns 0x50299d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x5027e0
xor eax, eax
cmp dword [ebp + 0x48], eax
setne al
add eax, 2
jmp 0x5027e5
mov eax, 1
cmp dword [esp + 0x18], 0
je 0x5027ed
inc eax
cmp dword [esp + 0x20], 0
lea ecx, [eax + 1]
cmovne ecx, eax
push ecx
push ebp
mov dword [esp + 0x2c], ecx
mov dword [edx + 0x1c], ecx
call fcn.004fc030
add esp, 8
cmp dword [esp + 0x34], 0xffffffff
jne 0x502828
push 0
push 0xb
push dword [esp + 0x24]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
test esi, esi
je 0x5028fa
mov eax, dword [ebp + 0x24]
shl esi, 2
add eax, esi
mov dword [esp + 0x10], 2
push eax
push 0x8d
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
mov eax, dword [ebp + 0x24]
add eax, 4
add eax, esi
push eax
push 0x8d
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
push 0
push 1
push 0
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov eax, dword [ebp + 0x48]
add esp, 0x48
test eax, eax
je 0x50289e
push eax
push 0x8d
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
push 0
push 3
push 4
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov esi, dword [esp + 0x30]
add esp, 0x18
test esi, esi
je 0x5028d3
push dword [ebp + 0x44]
push 0x8d
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
cmp dword [ebp + 0x48], 0
je 0x50293a
push 0
push 1
push 8
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov ebp, 3
add esp, 0x18
mov dword [esp + 0x10], ebp
jmp 0x50293f
mov esi, dword [esp + 0x18]
test esi, esi
je 0x502919
push dword [ebp + 0x44]
push 0x8d
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
push 0
push 2
push 0
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov ebp, 1
add esp, 0x18
mov dword [esp + 0x10], ebp
jmp 0x50293f
mov ebp, 2
test esi, esi
je 0x502948
inc ebp
mov dword [esp + 0x10], ebp
cmp dword [esp + 0x20], 0
jne 0x50296b
push 1
push 0x40
lea eax, [ebp*4]
push eax
push 0x8b
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
test esi, esi
je 0x502990
dec ebp
push 0
push 3
mov dword [esp + 0x18], ebp
lea eax, [ebp*4]
push eax
push 0x8b
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x502adf
mov eax, dword [esp + 0x20]
xor eax, 1
inc eax
add eax, ecx
cmp dword [esp + 0x18], 0
je 0x5029af
inc eax
mov esi, dword [esp + 0x28]
lea ecx, [eax + 1]
test esi, esi
cmovne ecx, eax
push ecx
push ebp
mov dword [esp + 0x2c], ecx
mov dword [edx + 0x1c], ecx
call fcn.004fc030
push dword [esp + 0x24]
push 0x8d
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
add esp, 0x20
cmp dword [esp + 0x18], 0
je 0x5029ff
push dword [ebp + 0x44]
push 0x8d
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
mov eax, dword [esp + 0x24]
shl eax, 2
push eax
push 0x40
push 0
push 0xb
push dword [esp + 0x2c]
push 0x8d
push 0x60
push ebx
call fcn.0051c660
xor eax, eax
add esp, 0x20
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], eax
jne 0x502a4b
push 1
push 0x40
push eax
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov eax, 1
add esp, 0x18
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], 0
je 0x502a73
push 0
push 3
shl eax, 2
push eax
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov eax, dword [esp + 0x28]
add esp, 0x18
inc eax
mov dword [esp + 0x10], eax
test esi, esi
jne 0x502a97
push esi
push 2
shl eax, 2
push eax
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov eax, dword [esp + 0x28]
add esp, 0x18
inc eax
mov dword [esp + 0x10], eax
push 0
push 1
shl eax, 2
push eax
push 0x8b
push 0x20
push ebx
call fcn.0051c420
mov esi, dword [esp + 0x3c]
mov eax, esi
sub eax, dword [esp + 0x4c]
push eax
lea eax, [esi - 1]
push eax
mov eax, dword [esp + 0x58]
push 0
push eax
push ebp
call fcn.00515670
mov ebp, dword [esp + 0x54]
xor ecx, ecx
add esp, 0x2c
test ebp, ebp
sete cl
or eax, 0xffffffff
sub eax, ecx
add dword [esp + 0x10], eax
test ebp, ebp
je 0x502afb
push 0
push 2
push dword [esp + 0x34]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
push ebx
call fcn.0051c1f0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x44], eax
cmp word [ecx], 0x7c
je 0x503496
nop word [eax + eax]
mov edx, dword [esp + 0x30]
push edx
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
push ecx
push edi
mov edi, dword [esp + 0x84]
push edi
mov dword [esp + 0x48], ecx
call fcn.00506b90
add esp, 0x10
cmp dword [ebx], 0
jne 0x503538
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x502d2b
cmp eax, 0xffffffff
jne 0x502b82
push dword [esp + 0x1c]
push 0x8d
push 0
push 0xb
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
test ebp, ebp
je 0x502c36
mov esi, dword [esp + 0x2c]
push esi
push 0x8d
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
mov eax, dword [edi + 0x24]
push 0
push 2
lea eax, [eax + ebp*4]
add eax, 4
push eax
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x30
cmp dword [ebx], 0
jne 0x502be2
lea eax, [esi + 0x20]
push eax
push 0x8d
push 0
push 2
push 1
push ebx
call fcn.00511520
add esp, 0x18
test eax, eax
je 0x502be2
mov byte [eax], 0x89
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x502c01
mov eax, ebp
shr eax, 1
push eax
push 0x40
push ecx
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
cmp dword [ebx], 0
jne 0x502c72
mov eax, dword [edi + 0x24]
lea eax, [eax + ebp*4]
add eax, 0x20
push eax
push 0x8d
push 0
push 1
push 1
push ebx
call fcn.00511520
mov ebp, dword [esp + 0x2c]
add esp, 0x18
mov esi, 0x8c
test eax, eax
je 0x502c7b
mov byte [eax], 0x89
jmp 0x502c7b
mov ebp, dword [esp + 0x14]
mov esi, 0x8c
cmp bp, si
jne 0x502c5a
push 0
push 0x8b
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
push 0
push 2
push 0
push 0x8b
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
jmp 0x502c7b
mov ebp, dword [esp + 0x14]
mov esi, 0x8c
cmp dword [esp + 0x18], 0
je 0x502ca2
mov eax, dword [esp + 0x10]
shl eax, 2
push eax
push 0x8b
push dword [edi + 0x44]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
cmp bp, si
je 0x502cb1
mov eax, 0x8e
cmp bp, ax
jne 0x502ce7
push 0
push 2
push 0
push 1
push 0
push ebx
call fcn.0051ac30
add esp, 0x18
mov esi, eax
cmp dword [ebx], 0
jne 0x502ce7
push 8
push ebx
call fcn.005118c0
add esp, 8
test eax, eax
je 0x502ce7
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x20], 0
jne 0x502edf
cmp dword [ebx], 0
jne 0x502edf
mov eax, dword [esp + 0x24]
lea eax, [eax*4 - 4]
push eax
push 0x8b
push 0
push 0x40
push 1
push ebx
call fcn.00511520
add esp, 0x18
test eax, eax
je 0x502edf
mov byte [eax], 0xc7
jmp 0x502edf
shl esi, 2
test ebp, ebp
je 0x502dd6
push esi
push 0x40
push dword [esp + 0x24]
push 0x8d
push 0
push 0xb
push 0x62
push ebx
call fcn.0051c660
push dword [esp + 0x4c]
push 0x8d
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
mov eax, dword [edi + 0x24]
lea esi, [ebp*4]
push 0
push 2
add eax, 4
add eax, esi
push eax
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x50
push 0
push 2
push dword [esp + 0x34]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
mov ecx, dword [edi + 0x48]
add esp, 0x18
test ecx, ecx
je 0x502dbe
mov eax, ebp
shr eax, 1
push eax
push 0x40
push ecx
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
mov eax, dword [edi + 0x24]
mov ecx, 0x8d
mov ebp, dword [esp + 0x14]
add eax, esi
mov edx, 1
lea esi, [ecx - 1]
jmp 0x502e46
push dword [esp + 0x1c]
push 0x8d
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
push esi
push 0x40
push 0
push 3
push 0
push 0xb
push 0x62
push ebx
call fcn.0051c660
mov ebp, dword [esp + 0x4c]
mov esi, 0x8c
add esp, 0x38
cmp bp, si
jne 0x502e30
mov eax, 0xfffffffe
sub eax, dword [esp + 0x34]
shl eax, 2
push eax
push 0x83
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
mov eax, 0xfffffffe
mov ecx, 0x83
sub eax, dword [esp + 0x34]
mov edx, 2
shl eax, 2
push 0
push edx
push eax
push ecx
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
cmp dword [esp + 0x18], 0
je 0x502e7d
mov eax, dword [esp + 0x10]
shl eax, 2
push eax
push 0x8b
push dword [edi + 0x44]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
cmp bp, si
je 0x502e8c
mov eax, 0x8e
cmp bp, ax
jne 0x502ec2
push 0
push 2
push 0
push 1
push 0
push ebx
call fcn.0051ac30
add esp, 0x18
mov esi, eax
cmp dword [ebx], 0
jne 0x502ec2
push 8
push ebx
call fcn.005118c0
add esp, 8
test eax, eax
je 0x502ec2
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x20], 0
jne 0x502edf
push 0
push 0x40
push 0
push 0x8b
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
push 0x22
push ebx
call fcn.0051c160
add esp, 8
test eax, eax
je 0x502f05
mov edx, dword [esp + 0x44]
test edx, edx
je 0x502f05
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], edx
or ecx, 1
mov dword [eax + 8], ecx
push edi
call fcn.005146e0
mov eax, dword [esp + 0x34]
add esp, 4
mov ebx, dword [edi]
mov dword [esp + 0x40], ebx
mov ebp, dword [eax + 8]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
test ebp, ebp
je 0x503123
nop word [eax + eax]
cmp dword [ebp + 4], 0
je 0x502fc0
cmp dword [ebx], 0
je 0x502f43
xor esi, esi
jmp 0x502f98
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x502f52
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x4c]
je 0x502f98
push 0xc
push ebx
call fcn.005118c0
mov esi, eax
add esp, 8
test esi, esi
je 0x502f98
mov dword [esi], 0
mov eax, dword [ebx + 0x4c]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x502f7a
mov dword [eax], esi
jmp 0x502f7d
mov dword [ebx + 8], esi
push 2
push ebx
mov dword [ebx + 0x18], esi
call fcn.00511920
add esp, 8
test eax, eax
jne 0x502f93
xor esi, esi
jmp 0x502f98
mov word [eax], 0
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x502fc0
nop
mov edx, dword [ecx]
test edx, edx
je 0x502fb9
test esi, esi
je 0x502fb9
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 0x502fa0
mov ecx, dword [ebp + 0x10]
movzx eax, word [ecx]
add eax, 0xfffffffd
cmp eax, 0xa5
ja case.0x502fdb.4
movzx eax, byte [eax + 0x503594]
jmp dword [eax*4 + 0x503558]
push 0
push 0x8b
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
push 4
push 0x40
push 0
push 0xb
push 0
push 0xb
push 0x60
push dword [edi]
call fcn.0051c660
push 0
push 1
push dword [edi + 0x24]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x50
jmp case.0x502fdb.4
push ebp
push edi
call fcn.00505130
add esp, 8
jmp case.0x502fdb.4
push ebp
push edi
call fcn.005085f0
add esp, 8
jmp case.0x502fdb.4
cmp dword [ebp + 0x1c], 0
mov ebx, dword [edi]
jne 0x5030d1
mov esi, dword [ebp + 0x18]
push 0x23
push ebx
mov edi, dword [esi + 8]
call fcn.0051c160
add esp, 8
test edi, edi
jne 0x503088
cmp dword [ebx], 0
mov edi, eax
jne 0x50309b
push 8
push ebx
call fcn.005118c0
add esp, 8
test eax, eax
je 0x50309b
mov ecx, dword [esi + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], edi
mov dword [esi + 0x10], eax
jmp 0x50309b
test eax, eax
je 0x50309b
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], edi
or ecx, 1
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
push 0
push 0x40
push 0
push 1
push 1
push ebx
call fcn.0051ac30
mov edi, dword [esp + 0x90]
add esp, 0x18
test eax, eax
je 0x5030dd
test esi, esi
je 0x5030dd
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], esi
or ecx, 1
mov dword [eax + 8], ecx
jmp 0x5030dd
push dword [ebp + 8]
push edi
call fcn.004ff5c0
add esp, 8
push ebx
call fcn.0051c1f0
mov edx, dword [ebp + 0xc]
add esp, 4
mov esi, eax
test edx, edx
je 0x503110
nop
mov ecx, dword [edx]
test ecx, ecx
je 0x503109
test esi, esi
je 0x503109
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 0x5030f0
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x502f30
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov dword [edi + 0x1c], eax
cmp dword [ebx], 0
jne 0x503538
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x503146
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x4c]
je 0x5033c1
push 0xc
push ebx
call fcn.005118c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x50338c
jmp 0x5033c1
push ebp
push edi
call fcn.004fd8d0
add esp, 8
jmp case.0x502fdb.4
push ebp
push edi
call fcn.004ffae0
add esp, 8
jmp case.0x502fdb.4
mov eax, 0x81
push ebp
push edi
cmp word [ecx + 2], ax
jbe 0x503162
call fcn.004ffae0
add esp, 8
jmp case.0x502fdb.4
push ebp
push edi
call fcn.00502460
add esp, 8
jmp case.0x502fdb.4
mov eax, 0x81
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 4], 0
cmp word [ecx + 2], ax
jbe 0x5031d7
push ebp
push ecx
push edi
call fcn.005010a0
push dword [ebp + 8]
push edi
call fcn.004ffae0
add esp, 0x14
jmp case.0x502fdb.4
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x50]
push 0
push eax
push ecx
push edi
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], ecx
call fcn.004fdbf0
add esp, 0x10
jmp case.0x502fdb.4
mov eax, dword [edi + 0x78]
neg eax
sbb eax, eax
and eax, 0x10
push eax
push 0x8b
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
cmp dword [edi + 0x78], 0
je 0x503250
push 0
push 0x8b
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
cmp dword [edi + 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 [edi]
call fcn.0051c660
push 0
push 1
push dword [edi + 0x40]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x38
cmp dword [edi + 0x78], 0
je case.0x502fdb.4
push 0
push 3
push dword [edi + 0x44]
push 0x8d
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
jmp case.0x502fdb.4
push ebp
push edi
call fcn.00504a10
add esp, 8
jmp case.0x502fdb.4
cmp dword [edi + 0x84], 0
jne 0x5032dd
push 0xffffffffffffffff
push 0x40
push 0
push 1
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
mov esi, dword [edi + 0xc0]
push 0x22
push ebx
call fcn.0051c160
add esp, 8
test esi, esi
jne 0x503326
cmp dword [ebx], 0
mov esi, eax
jne case.0x502fdb.4
push 8
push ebx
call fcn.005118c0
add esp, 8
test eax, eax
je case.0x502fdb.4
mov ecx, dword [edi + 0xe0]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [edi + 0xe0], eax
jmp case.0x502fdb.4
test eax, eax
je case.0x502fdb.4
mov ecx, dword [eax + 8]
and ecx, 0xfffffffd
mov dword [eax + 0xc], esi
or ecx, 1
mov dword [eax + 8], ecx
jmp case.0x502fdb.4
push ebx
call fcn.0051c1f0
mov edx, dword [ebp + 0xc]
add esp, 4
mov esi, eax
test edx, edx
je case.0x502fdb.4
mov ecx, dword [edx]
test ecx, ecx
je 0x503371
test esi, esi
je 0x503371
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 0x503358
jmp case.0x502fdb.4
push ebp
push edi
call fcn.0050a590
add esp, 8
jmp case.0x502fdb.4
mov dword [esi], 0
mov eax, dword [ebx + 0x4c]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x5033a3
mov dword [eax], esi
jmp 0x5033a6
mov dword [ebx + 8], esi
push 2
push ebx
mov dword [ebx + 0x18], esi
call fcn.00511920
add esp, 8
test eax, eax
jne 0x5033bc
xor esi, esi
jmp 0x5033c1
mov word [eax], 0
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5033f0
nop dword [eax]
mov ecx, dword [edx]
test ecx, ecx
je 0x5033e9
test esi, esi
je 0x5033e9
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 0x5033d0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
test esi, esi
jns 0x503415
xor eax, eax
test ebp, ebp
cmovne eax, dword [esp + 0x2c]
xor ecx, ecx
test ebp, ebp
setne cl
lea ecx, [ecx*2 + 0x8b]
jmp 0x50346d
test ebp, ebp
je 0x503446
mov eax, dword [esp + 0x38]
cmp word [eax], 0x7c
jne 0x50343b
push dword [esp + 0x1c]
push 0x8d
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
add esp, 0x18
mov eax, dword [esp + 0x2c]
mov ecx, 0x8d
jmp 0x50346d
push dword [esp + 0x1c]
push 0x8d
push 0
push 3
push 0x20
push ebx
call fcn.0051c420
mov eax, 0xfffffffe
add esp, 0x18
sub eax, esi
mov ecx, 0x83
shl eax, 2
push eax
push ecx
push 0
push 2
mov edx, ebx
push 0x20
push edx
call fcn.0051c420
mov ecx, dword [esp + 0x50]
add esp, 0x18
cmp word [ecx], 0x7c
je 0x50349a
mov esi, dword [esp + 0x24]
lea edi, [ecx + 4]
jmp 0x502b20
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
add esi, 0xc
cmp dword [esp + 0x20], 0
mov dword [esi], 0
jne 0x5034ea
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
push 0
push 0x40
jge 0x5034cc
lea eax, [eax*4 - 4]
push eax
push 0x8b
jmp 0x5034d7
neg eax
shl eax, 2
push eax
push 0x83
push 1
push ebx
call fcn.0051ac30
push eax
push esi
push ebx
call fcn.004fc000
add esp, 0x24
push ebx
call fcn.0051c1f0
mov ebx, dword [esp + 0x40]
add esp, 4
mov edx, eax
test ebx, ebx
je 0x503520
nop dword [eax]
mov ecx, dword [ebx]
test ecx, ecx
je 0x503519
test edx, edx
je 0x503519
mov eax, dword [ecx + 8]
and eax, 0xfffffffd
mov dword [ecx + 0xc], edx
or eax, 1
mov dword [ecx + 8], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x503500
push edi
call fcn.0050d420
mov eax, dword [esp + 0x3c]
add esp, 4
add eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret