Function at 0x4ba800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6a1a40], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20c], esi
je 0x4bb4df
cmp dword [esi + 0xb88], 0
jne 0x4bb4df
cmp dword [0x6b0908], 0
je 0x4bb4df
cmp dword [0x6a2388], 7
jne 0x4bb4df
push ebx
push 0x58
mov ecx, edi
call fcn.00515a20
mov ebx, 1
cmp eax, ebx
jne 0x4ba87c
mov ecx, dword [0x6a2ca8]
mov edx, dword [0x6b0908]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6c1bb8], 0
mov dword [ebp - 0x214], 0
je 0x4ba89d
cmp dword [esi + 0xb84], ebx
jne 0x4ba89d
mov dword [ebp - 0x214], ebx
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4ba8af
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4ba8c2
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4ba8d5
and ebx, 0xfffffffe
or ebx, 8
mov edx, dword [ebp - 0x20c]
xor esi, esi
lea ecx, [ecx]
cmp dword [ebp - 0x214], 0
je 0x4ba901
mov eax, dword [edx + 0xb84]
lea ecx, [eax + eax*4]
lea eax, [esi + ecx*8]
add eax, eax
cmp dword [edx + eax*8 + 0x50c], 0
je 0x4ba95d
mov eax, dword [edx + 0xb84]
lea ecx, [eax + eax*4]
lea eax, [esi + ecx*8]
mov ecx, eax
add ecx, ecx
test dword [edx + ecx*8 + 0x504], ebx
je 0x4ba95d
add eax, 0x51
add eax, eax
cmp dword [edx + eax*8], 0
je 0x4ba937
movzx edx, word [edx + ecx*8 + 0x508]
push edx
mov ecx, edi
call fcn.005159b0
jmp 0x4ba947
movzx eax, word [edx + ecx*8 + 0x508]
push eax
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4ba957
mov ecx, dword [ebp - 0x20c]
push esi
call fcn.004b9320
mov edx, dword [ebp - 0x20c]
inc esi
cmp esi, 0x28
jl 0x4ba8e0
push 0x13
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4baa4e
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4baa4e
push 0
push 0x3880
mov ecx, 0x6deb28
call fcn.0053af80
test eax, eax
je 0x4ba9c5
push 0x58e744
push 0x1d
push 0x6b28c8
call fcn.004bfb10
add esp, 0xc
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x6a2ba0]
cmp dword [ecx + 0x10], 0
jne 0x4ba9ff
cmp dword [0x6bc834], 0
je 0x4baa1b
push 0x283
mov ecx, 0x6b28c8
call fcn.004be880
push eax
push 0x1d
push 0x6b28c8
call fcn.004bfb10
mov ecx, dword [0x6a2ba0]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x69a7e4]
cmp byte [edx + 0x6b04f0], 0
je 0x4baa45
push 0x584380
push 1
push 0x3ab7
push 0x6b0010
call fcn.00439e30
add esp, 0x10
jmp 0x4baa4e
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4baa7f
mov ecx, dword [0x6a2ac0]
test ecx, ecx
je 0x4bb4de
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4baa7b
push 0
jmp 0x4baa7d
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4baada
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4baada
mov esi, dword [0x6a2cf4]
test esi, esi
je 0x4bb4de
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4baac1
push 1
call fcn.0043da50
mov ecx, esi
call fcn.0043dd40
push 0
jmp 0x4baad1
push 0
call fcn.0043da50
mov ecx, esi
call fcn.0043e3a0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bab42
cmp dword [0x69a7e4], 2
je 0x4bb4de
call fcn.004fbaf0
mov ecx, eax
call fcn.004ffa80
test eax, eax
je 0x4bab17
call fcn.004fbaf0
mov ecx, eax
call fcn.00503040
push 0x8a3
jmp 0x4bab28
call fcn.004fbaf0
mov ecx, eax
call fcn.00502ee0
push 0x8a2
mov ecx, 0x6b28c8
call fcn.004be880
push eax
push 0x1d
push 0x6b28c8
call fcn.004bfb10
add esp, 0xc
push 0xf
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4babf6
mov ecx, 0x6b0910
call fcn.0048b860
mov esi, eax
test esi, esi
jne 0x4bab95
push 0x8b2
mov ecx, 0x6b28c8
call fcn.004be880
push eax
push 0x1d
push 0x6b28c8
call fcn.004bfb10
add esp, 0xc
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x128], 1
jne 0x4bb4de
mov edx, dword [0x6c2010]
mov ecx, dword [0x6a2d24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push edx
mov edx, dword [0x6c200c]
push edx
call eax
mov ecx, dword [esi + 0x129]
push ecx
add esi, 0x131
push esi
lea edx, [ebp - 0x44]
push str._s__d_
push edx
call fcn.0056469f
mov ecx, dword [0x6a2d24]
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
call fcn.004f9c50
mov ecx, dword [0x6a2d24]
call fcn.004f9bd0
push 0x41
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bac27
push 0x8e6
mov ecx, 0x6b28c8
call fcn.004be880
push eax
push 2
push 0x3ab4
push 0x6b0010
call fcn.00439e30
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bac74
call fcn.00403460
mov ecx, eax
call fcn.00510ac0
test eax, eax
jne 0x4bac5d
call fcn.00403460
mov ecx, eax
call fcn.00510c90
mov ecx, dword [0x6a2d34]
call fcn.00510740
jmp 0x4bac74
call fcn.00403460
mov ecx, eax
call fcn.00510ad0
mov ecx, dword [0x6a2d34]
call fcn.00510710
push 0x10
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bacb8
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bacb8
mov ecx, dword [0x6a1500]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4bacaa
mov edx, dword [0x6a1500]
push 0
push edx
jmp 0x4bacb2
mov eax, dword [0x6a1500]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6b17cc], 0
je 0x4bb4de
push 0x22
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bacf9
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bacf9
mov ecx, dword [0x6a2c7c]
test ecx, ecx
je 0x4bacf9
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0x10], eax
sete al
push eax
call edx
push 0x13
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bad2d
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bad2d
mov ecx, dword [0x6a2c80]
test ecx, ecx
je 0x4bad2d
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0x10], edx
sete dl
push edx
call eax
push 0x20
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bad60
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bad60
mov ecx, dword [0x6a2cb8]
cmp dword [ecx + 0x10], 1
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4bad5c
push 0
jmp 0x4bad5e
push 1
call eax
push 0x3b
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bad8b
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bad8b
xor ecx, ecx
cmp dword [0x6dcd2c], ecx
sete cl
mov dword [0x6dcd2c], ecx
push 0xe
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4badaf
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4badaf
mov ecx, 0x6b0010
call fcn.00436a60
push 0x19
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bade7
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bade7
mov eax, dword [ebp - 0x20c]
xor dword [eax + 0xb90], 1
mov eax, dword [eax + 0xb90]
push eax
mov ecx, 0x6a4240
call fcn.0041a820
push 0x2e
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bae1a
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bae1a
cmp dword [0x6deed0], 4
mov ecx, 0x6deeb8
jne 0x4bae13
push 0
jmp 0x4bae15
push 4
call fcn.0053df90
push 0x1e
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bae5c
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bae5c
mov esi, dword [0x6a2c60]
test esi, esi
je 0x4bae5c
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0x10], eax
mov ecx, esi
sete al
push eax
call edx
push 0x58e728
mov ecx, esi
call fcn.00470900
push 0x1f
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bae90
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bae90
mov ecx, dword [0x6a2c30]
test ecx, ecx
je 0x4bae90
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0x10], edx
sete dl
push edx
call eax
push 0x26
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb115
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb115
mov esi, dword [0x6a2c34]
test esi, esi
je 0x4bb115
mov ecx, dword [0x58e71c]
mov edx, dword [0x58e720]
movzx eax, word [0x58e724]
mov dword [ebp - 0x84], ecx
movzx ecx, byte [0x58e726]
mov dword [ebp - 0x80], edx
lea edx, [ebp - 0x208]
mov byte [ebp - 0x7a], cl
push edx
mov ecx, esi
mov word [ebp - 0x6f], 0x800
mov dword [ebp - 0x208], 2
mov word [ebp - 0x7c], ax
call fcn.0046f740
mov eax, dword [0x58e710]
mov ecx, dword [0x58e714]
movzx edx, word [0x58e718]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
movzx eax, byte [0x58e71a]
lea ecx, [ebp - 0x208]
push ecx
mov ecx, esi
mov word [ebp - 0x6f], 0x2001
mov dword [ebp - 0x208], 4
mov word [ebp - 0x7c], dx
mov byte [ebp - 0x7a], al
call fcn.0046f740
mov edx, dword [0x58e704]
mov eax, dword [0x58e708]
movzx ecx, word [0x58e70c]
mov dword [ebp - 0x84], edx
movzx edx, byte [0x58e70e]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x208]
mov word [ebp - 0x7c], cx
mov ebx, 6
push eax
mov ecx, esi
mov word [ebp - 0x6f], 0x1002
mov dword [ebp - 0x208], ebx
mov byte [ebp - 0x7a], dl
call fcn.0046f740
mov ecx, dword [0x58e6f8]
mov edx, dword [0x58e6fc]
movzx eax, word [0x58e700]
mov dword [ebp - 0x84], ecx
movzx ecx, byte [0x58e702]
mov dword [ebp - 0x80], edx
lea edx, [ebp - 0x208]
mov byte [ebp - 0x7a], cl
push edx
mov ecx, esi
mov word [ebp - 0x6f], 0x2003
mov dword [ebp - 0x208], 8
mov word [ebp - 0x7c], ax
call fcn.0046f740
mov eax, dword [0x58e6ec]
mov ecx, dword [0x58e6f0]
movzx edx, word [0x58e6f4]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
movzx eax, byte [0x58e6f6]
lea ecx, [ebp - 0x208]
push ecx
mov ecx, esi
mov word [ebp - 0x6f], 0x2004
mov dword [ebp - 0x208], 0xa
mov word [ebp - 0x7c], dx
mov byte [ebp - 0x7a], al
call fcn.0046f740
mov edx, dword [0x58e6e0]
movzx ecx, word [0x58e6e8]
mov eax, dword [0x58e6e4]
mov dword [ebp - 0x84], edx
movzx edx, byte [0x58e6ea]
mov word [ebp - 0x6f], 0x405
mov dword [ebp - 0x208], 0xc
mov dword [ebp - 0x80], eax
mov word [ebp - 0x7c], cx
mov byte [ebp - 0x7a], dl
lea eax, [ebp - 0x208]
push eax
mov ecx, esi
call fcn.0046f740
mov ecx, dword [0x58e6d4]
mov edx, dword [0x58e6d8]
movzx eax, word [0x58e6dc]
mov dword [ebp - 0x84], ecx
movzx ecx, byte [0x58e6de]
mov dword [ebp - 0x80], edx
lea edx, [ebp - 0x208]
mov byte [ebp - 0x7a], cl
push edx
mov ecx, esi
mov word [ebp - 0x6f], 0x1006
mov dword [ebp - 0x208], 0xe
mov word [ebp - 0x7c], ax
call fcn.0046f740
mov eax, dword [0x58e6c8]
mov ecx, dword [0x58e6cc]
movzx edx, word [0x58e6d0]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
movzx eax, byte [0x58e6d2]
lea ecx, [ebp - 0x208]
push ecx
mov ecx, esi
mov word [ebp - 0x6f], 0x2007
mov dword [ebp - 0x208], 0x10
mov word [ebp - 0x7c], dx
mov byte [ebp - 0x7a], al
call fcn.0046f740
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0x10], eax
mov ecx, esi
sete al
push eax
call edx
mov ecx, esi
call fcn.0046fc50
push 0x24
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb2be
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb2be
lea eax, [ebp - 0x27]
push 0x58e6bc
push eax
mov byte [ebp - 0x2c], 0
call fcn.0056469f
lea ecx, [ebp - 0x16]
push 0x58e6b0
push ecx
call fcn.0056469f
lea edx, [ebp - 0x67]
push 0x58e6a8
push edx
mov byte [ebp - 0x6c], 1
call fcn.0056469f
lea eax, [ebp - 0x56]
push 0x58e6a0
push eax
call fcn.0056469f
mov esi, dword [0x6a2c38]
add esp, 0x20
test esi, esi
je 0x4bb2be
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
lea edx, [ebp - 0x6c]
push edx
mov ecx, esi
call fcn.0046e650
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0046e650
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call fcn.0046e650
mov ecx, esi
call fcn.0046e760
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0x10], eax
mov ecx, esi
sete al
push eax
call edx
push 0x23
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb2f2
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb2f2
mov ecx, dword [0x6a2c3c]
test ecx, ecx
je 0x4bb2f2
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0x10], edx
sete dl
push edx
call eax
push 0x22
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb325
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb325
mov ecx, dword [0x6a2a80]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4bb321
push 1
jmp 0x4bb323
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb33b
push 0x38
mov ecx, edi
call fcn.00515a20
push 0x20
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb36e
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb36e
mov ecx, dword [0x6a2cb4]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4bb36a
push 1
jmp 0x4bb36c
push 0
call eax
cmp dword [ebp - 0x214], 1
je 0x4bb4de
push 0x17
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb3c3
push 0x38
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb3c3
mov ecx, dword [0x6b0914]
mov word [ebp - 0x213], 0x7f05
mov edx, dword [ecx + 0x129]
push 7
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x6c2050
mov dword [ebp - 0x211], edx
call fcn.00516a50
push 0x31
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb3f7
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb3f7
mov ecx, dword [0x6a2c68]
test ecx, ecx
je 0x4bb3f7
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0x10], eax
sete al
push eax
call edx
push 0x15
mov ecx, edi
call fcn.00515970
mov bl, 0x3c
test eax, eax
je 0x4bb448
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb448
mov eax, dword [0x6b0908]
push 0xb
lea ecx, [ebp - 0x218]
push ecx
mov ecx, 0x6c2050
mov byte [ebp - 0x217], bl
mov byte [ebp - 0x216], 0x29
mov dword [ebp - 0x215], eax
mov dword [ebp - 0x211], 2
call fcn.00516a50
push 0x10
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb48e
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb48e
mov edx, dword [0x6b0908]
push 7
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x6c2050
mov byte [ebp - 0x213], bl
mov byte [ebp - 0x212], 1
mov dword [ebp - 0x211], edx
call fcn.00516a50
push 0x1e
mov ecx, edi
call fcn.00515970
test eax, eax
je 0x4bb4de
push 0x1d
mov ecx, edi
call fcn.00515a20
test eax, eax
je 0x4bb4de
mov ecx, dword [0x6b0908]
push 0xb
lea edx, [ebp - 0x218]
mov dword [ebp - 0x215], ecx
push edx
mov ecx, 0x6c2050
mov byte [ebp - 0x217], bl
mov byte [ebp - 0x216], 0x29
mov dword [ebp - 0x211], 1
call fcn.00516a50
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4