Function at 0x507700
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x724c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x37c], edi
lea eax, [ebp - 0x150]
push eax
call fcn.005158f0
add esp, 4
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 1
mov word [ebp - 0x6c], 0x2f
push 8
push str.main.ico
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0044ef80
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xcc], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0xbc], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0xb8], 0x10
lea ecx, [ebp - 0xcc]
push dword [ebp - 0xbc]
movd eax, xmm1
mov byte [ebp - 4], 2
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x150]
call fcn.0044ef80
mov edx, dword [ebp - 0xb8]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x507809
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5077ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093d0
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x507841
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x507837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093d0
push edx
push ecx
call fcn.006f4b9f
add esp, 8
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
push 0x50
cmovae eax, dword [ebp - 0x150]
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
push esi
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xf8
push dword [edi + 4]
call esi
mov edi, eax
mov eax, dword [ebp - 0x37c]
push 0xe6
mov dword [ebp - 0x3c0], edi
push dword [eax + 4]
call esi
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x37c]
push 0xf9
push dword [eax + 4]
call esi
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x37c]
push 0xe7
push dword [eax + 4]
call esi
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x37c]
push 0xfa
push dword [eax + 4]
call esi
mov esi, eax
mov eax, dword [ebp - 0x37c]
push 0xe8
mov dword [ebp - 0x394], esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x37c]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x37c]
push 2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x37c]
push 0xcb
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x37c]
push 0xfc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 0x385], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x6c], 0x636e7973
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x170]
call fcn.0051ca80
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x5079e3
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5079d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093d5
push edx
push ecx
call fcn.006f4b9f
add esp, 8
movq xmm0, qword [str.config.db]
mov al, byte [0x7383c4]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 9
movq qword [ebp - 0x54], xmm0
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x4b], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x170]
call fcn.0051e670
mov edx, dword [ebp - 0x40]
mov byte [ebp - 0x37d], al
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x507a73
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x507a63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093da
push edx
push ecx
call fcn.006f4b9f
mov al, byte [ebp - 0x37d]
add esp, 8
test al, al
je 0x507af6
mov eax, dword [0x738d6c]
mov dword [ebp - 0x54], eax
mov ax, word [0x738d70]
mov word [ebp - 0x50], ax
mov al, byte [0x738d72]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 7
mov byte [ebp - 0x4e], al
mov byte [ebp - 0x4d], 0
push 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x170]
call fcn.005158d0
mov edx, dword [ebp - 0x40]
mov byte [ebp - 0x385], al
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x507af6
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x507aec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093df
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, dword [ebp - 0x37c]
cmp byte [eax + 0x210], 0
je 0x5091fb
lea eax, [ebp - 0xcc]
push eax
call fcn.00515bb0
add esp, 4
mov dword [ebp - 0x39c], 0
mov ecx, dword [ebp - 0xbc]
mov eax, closesocket
sub eax, ecx
mov byte [ebp - 4], 9
cmp eax, 0xa
jb 0x5093e4
cmp dword [ebp - 0xb8], 0x10
lea eax, [ebp - 0xcc]
push 0xa
cmovae eax, dword [ebp - 0xcc]
push str.address.db
push ecx
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x394]
lea ecx, [ebp - 0x6c]
call fcn.004cc200
push 1
push 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x39c]
call fcn.004e8110
mov edx, dword [ebp - 0x58]
test al, al
mov byte [ebp - 4], 9
sete al
mov byte [ebp - 0x37d], al
cmp edx, 0x10
jb 0x507bce
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x507bbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093e9
push edx
push ecx
call fcn.006f4b9f
mov al, byte [ebp - 0x37d]
add esp, 8
test al, al
je 0x507bec
mov ecx, dword [ebp - 0x37c]
push 0xa0
call fcn.00507630
mov esi, 1
jmp 0x5093a3
lea eax, [ebp - 0x39c]
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov eax, dword [ebp - 0x37c]
mov byte [ebp - 4], 0xc
push dword [eax + 0x214]
lea eax, [ebp - 0x24]
push 0x738e34
push eax
call fcn.004e5840
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x390], ecx
cmp ecx, 0xd
jb 0x507c80
cmp ecx, 0x10
mov dword [ebp - 0x44], 0xd
push 0xd
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push str.SELECT_name_
push eax
mov dword [ebp - 0x390], eax
call fcn.006f6ff0
mov eax, dword [ebp - 0x390]
add esp, 0xc
mov byte [eax + 0xd], 0
jmp 0x507d36
mov edx, ecx
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x507c96
mov ecx, closesocket
jmp 0x507ca3
lea eax, [ecx + edx]
mov ecx, 0xf
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x398], ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0044f2f0
movq xmm0, qword [str.SELECT_name_]
mov edx, eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x44], 0xd
movq qword [edx], xmm0
mov ecx, dword [0x739f4c]
mov dword [edx + 8], ecx
mov cl, byte [0x739f50]
mov byte [edx + 0xc], cl
mov dword [ebp - 0x38c], edx
mov byte [edx + 0xd], 0
cmp eax, 0x10
jb 0x507d33
mov ecx, dword [ebp - 0x54]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x507d1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093ee
push edx
push ecx
call fcn.006f4b9f
mov eax, dword [ebp - 0x38c]
add esp, 8
mov dword [ebp - 0x54], eax
jmp 0x507d36
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x507d40
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0044ef80
push 0x10
push str._FROM_attributes
lea ecx, [ebp - 0x54]
call fcn.0044ef80
cmp dword [ebp - 0x40], 0x10
lea ecx, [ebp - 0x3ac]
push 0
push ecx
push dword [ebp - 0x44]
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x3b0]
push dword [eax]
call fcn.00460ff0
add esp, 0x14
test eax, eax
je 0x507eda
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x390], ecx
cmp ecx, 0x21
jb 0x507ddc
cmp ecx, 0x10
mov dword [ebp - 0x44], 0x21
push 0x21
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push str.SELECT_name__desc_FROM_attributes
push eax
mov dword [ebp - 0x390], eax
call fcn.006f6ff0
mov eax, dword [ebp - 0x390]
add esp, 0xc
mov byte [eax + 0x21], 0
mov ecx, dword [ebp - 0x54]
jmp 0x507e98
mov edx, ecx
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x507df2
mov ecx, closesocket
jmp 0x507dff
lea eax, [ecx + edx]
mov ecx, 0x2f
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x38c], ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0044f2f0
movups xmm0, xmmword [str.SELECT_name__desc_FROM_attributes]
mov ecx, dword [ebp - 0x38c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], 0x21
movups xmmword [eax], xmm0
mov dword [ebp - 0x398], eax
movups xmm0, xmmword [0x739f78]
movups xmmword [eax + 0x10], xmm0
mov cl, byte [0x739f88]
mov byte [eax + 0x20], cl
mov ecx, dword [ebp - 0x390]
mov byte [eax + 0x21], 0
cmp ecx, 0x10
jb 0x507e8d
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x54]
mov eax, ecx
cmp edx, 0x1000
jb 0x507e78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093ee
push edx
push ecx
call fcn.006f4b9f
mov ecx, dword [ebp - 0x398]
add esp, 8
mov dword [ebp - 0x54], ecx
jmp 0x507e98
mov dword [ebp - 0x398], eax
mov ecx, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
push 0
cmovae eax, ecx
lea ecx, [ebp - 0x3ac]
push ecx
push dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x3b0]
push dword [eax]
call fcn.00460ff0
add esp, 0x14
test eax, eax
je 0x507eda
mov ecx, dword [ebp - 0x37c]
push 0xa0
call fcn.00507630
xor esi, esi
jmp 0x509340
lea ecx, [ebp - 0x400]
call fcn.004e5aa0
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x3b0]
call fcn.0051a1f0
test al, al
jne 0x507f14
mov ecx, dword [ebp - 0x37c]
push 0xa0
call fcn.00507630
jmp 0x509330
xor eax, eax
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x3b4], eax
push 0x17
push str.SELECT_true_name__email
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.0044f130
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x37d], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 0xf
nop dword [eax]
cmp byte [ebp - 0x3e8], 0
je 0x507f88
mov eax, dword [ebp - 0x400]
mov byte [ebp - 0x3e8], 0
jmp 0x507f91
mov eax, dword [ebp - 0x3f4]
add eax, 0xc
cmp dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f4], eax
setne cl
test cl, cl
je 0x5082ef
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x384], edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5093f3
cmp eax, 1
jbe 0x5093f3
mov eax, dword [ebp - 0x384]
add eax, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x507fe6
mov eax, dword [eax]
lea ecx, [ebp - 0x270]
push 0xfde9
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x274]
push eax
call fcn.004d3aa0
mov edx, dword [ebp - 0x274]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x2c], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x390], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x508033
sub ecx, dword [ebp - 0x390]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004da1e0
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x12
cmp eax, ecx
je 0x50806d
push eax
call fcn.006fa47e
add esp, 4
push 2
push 0x739068
lea ecx, [ebp - 0x3c]
call fcn.004df6c0
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x50808c
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
push 9
push str.true_name
push eax
push ecx
mov dword [ebp - 0x390], eax
call fcn.004cbcc0
add esp, 0x10
test eax, eax
jne 0x5080df
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x507f70
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.004fba40
jmp 0x507f70
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5080ef
mov ecx, dword [eax]
push 5
push str.email
push dword [eax + 0x10]
push ecx
call fcn.004cbcc0
add esp, 0x10
test eax, eax
jne 0x50811a
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x3a4]
jmp 0x5080b7
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x50812a
mov ecx, dword [eax]
push 2
push 0x738dac
push dword [eax + 0x10]
push ecx
call fcn.004cbcc0
add esp, 0x10
test eax, eax
jne 0x50815b
cmp byte [ebp - 0x385], al
jne 0x50815b
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
push esi
jmp 0x5080b7
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x50816b
mov ecx, dword [eax]
push 4
push str.type
push dword [eax + 0x10]
push ecx
call fcn.004cbcc0
add esp, 0x10
test eax, eax
je 0x5080bd
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x508196
mov ecx, dword [eax]
push 4
push str.list
push dword [eax + 0x10]
push ecx
call fcn.004cbcc0
add esp, 0x10
test eax, eax
je 0x5080bd
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5081c1
mov ecx, dword [eax]
push 9
push str.empstatus
push dword [eax + 0x10]
push ecx
call fcn.004cbcc0
add esp, 0x10
test eax, eax
jne 0x5081e4
mov byte [ebp - 0x37d], 1
jmp 0x5080bd
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5081f4
mov ecx, dword [eax]
push 2
push 0x734b20
push dword [eax + 0x10]
push ecx
call fcn.004cbcc0
add esp, 0x10
test eax, eax
je 0x5080bd
mov eax, dword [ebp - 0x384]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x50821f
mov ecx, dword [eax]
push 2
push 0x738dac
push dword [eax + 0x10]
push ecx
call fcn.004cbcc0
add esp, 0x10
test eax, eax
je 0x5080bd
mov ecx, dword [ebp - 0x390]
mov eax, closesocket
sub eax, ecx
cmp eax, 2
jb 0x5093e4
mov eax, dword [ebp - 0x384]
cmp dword [eax + 0x14], 0x10
jb 0x508260
mov edx, dword [eax]
jmp 0x508262
mov edx, eax
push ecx
push edx
push 2
push 0x7347a4
push eax
push dword [ebp - 0x394]
lea ecx, [ebp - 0x84]
call fcn.004cc200
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
push dword [ebp - 0x74]
cmovae eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x13
call fcn.0044ef80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x12
call fcn.0044f440
mov eax, dword [ebp - 0x3b8]
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [ebp - 0x398]
je 0x5082d2
mov ecx, eax
call fcn.004e0800
add dword [ebp - 0x3b8], 0x18
jmp 0x5080bd
push eax
lea ecx, [ebp - 0x3bc]
call fcn.004e3b20
mov eax, dword [ebp - 0x3b4]
mov dword [ebp - 0x398], eax
jmp 0x5080bd
mov edi, dword [ebp - 0x37c]
lea eax, [edi + 0x68]
push eax
lea eax, [ebp - 0x118]
push str._FROM_user_WHERE_ou
push eax
call fcn.0044e8f0
push str._AND_id
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x14
push eax
call fcn.0044f050
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 0x15
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0044f600
push 0x7c4380
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
push eax
call fcn.0044f050
add esp, 0x30
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 0x17
jb 0x508359
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0044ef80
lea ecx, [ebp - 0x3c]
call fcn.0044f440
lea ecx, [ebp - 0x84]
call fcn.0044f440
lea ecx, [ebp - 0xe4]
call fcn.0044f440
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xf
call fcn.0044f440
cmp byte [ebp - 0x37d], 0
je 0x5083aa
push 0xb
push str.__empstatus
lea ecx, [ebp - 0x54]
call fcn.0044ef80
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x54]
push eax
call fcn.0044ef80
push 0
push 0
push 0x31
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3fc]
sub ecx, dword [ebp - 0x400]
mov dword [ebp - 0x390], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0xa4], 0
sar edx, 1
mov eax, edx
mov dword [ebp - 0x94], 0
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x3c4], 0
cmp eax, 3
jbe 0x5087f2
lea ecx, [ebp - 0x34]
call fcn.00506ea0
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3a4]
call edi
lea ecx, [ebp - 0x7c]
call fcn.00506ea0
lea eax, [ebp - 0x7c]
push eax
push esi
call edi
movups xmm0, xmmword [ebp - 0x7c]
mov esi, dword [ebp - 0x3a0]
lea eax, [ebp - 0x94]
push eax
push esi
movups xmmword [ebp - 0xa4], xmm0
call edi
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x37c]
mov dword [ebp - 0x3c4], eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [edi + 4]
call fcn.00509400
test eax, eax
je 0x5087dd
lea eax, [ebp - 0x94]
push eax
lea ecx, [edi + 4]
call fcn.00509400
test eax, eax
je 0x5087dd
lea ecx, [ebp - 0x400]
call fcn.00509460
lea ecx, [ebp - 0x128]
lea edi, [eax - 3]
mov eax, dword [ebp - 0x3c4]
imul edi, eax
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [ebp - 0x384], edi
call fcn.00506ea0
mov edx, dword [ebp - 0x37c]
lea eax, [ebp - 0x128]
push eax
push dword [edx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x5087dd
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x37c]
add eax, edi
mov edi, dword [ebp - 0x120]
sub edi, dword [ebp - 0x128]
mov dword [ebp - 0x38c], eax
lea eax, [ebp - 0xb4]
push eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x5087dd
mov eax, dword [ebp - 0xac]
cmp edi, 0xffffffff
mov ecx, dword [ebp - 0x37c]
cmovne eax, edi
cmp dword [ebp - 0x38c], 0xffffffff
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
cmovne eax, dword [ebp - 0x38c]
push 0xfffffffffffffff0
push dword [ecx + 4]
mov dword [ebp - 0xa8], eax
call edi
test eax, 0x40000000
jne 0x5085c5
mov ecx, dword [ebp - 0x37c]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [ebp - 0x38c], 1
test eax, eax
jne 0x5085cf
mov dword [ebp - 0x38c], 0
mov ecx, dword [ebp - 0x37c]
push 0xffffffffffffffec
push dword [ecx + 4]
call edi
mov ecx, dword [ebp - 0x37c]
mov edi, eax
push 0xfffffffffffffff0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push edi
push dword [ebp - 0x38c]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
test eax, eax
je 0x5087dd
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0x37c]
push 0x16
push ecx
push eax
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
je 0x5087dd
lea ecx, [ebp - 0x138]
call fcn.00506ea0
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x3e4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x138]
push eax
lea ecx, [edi + 4]
call fcn.00509400
test eax, eax
je 0x5087dd
mov edi, dword [ebp - 0x384]
lea eax, [ebp - 0x138]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 4
lea eax, [ebp - 0x138]
push eax
push 0
lea ecx, [ebp - 0x3e4]
call fcn.00509430
test eax, eax
je 0x5087dd
lea ecx, [ebp - 0xf4]
call fcn.00506ea0
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0x3e0]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x37c]
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ecx + 4]
call fcn.00509400
test eax, eax
je 0x5087dd
push edi
push 0
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 4
lea eax, [ebp - 0xf4]
push eax
push 0
lea ecx, [ebp - 0x3e0]
call fcn.00509430
test eax, eax
je 0x5087dd
lea ecx, [ebp - 0x110]
call fcn.00506ea0
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x3dc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x37c]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ecx + 4]
call fcn.00509400
test eax, eax
je 0x5087dd
push edi
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 4
lea eax, [ebp - 0x110]
push eax
push 0
lea ecx, [ebp - 0x3dc]
call fcn.00509430
test eax, eax
je 0x5087dd
lea ecx, [ebp - 0xdc]
call fcn.00506ea0
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0x3a8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x37c]
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ecx + 4]
call fcn.00509400
test eax, eax
je 0x5087dd
push edi
push 0
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 4
lea eax, [ebp - 0xdc]
push eax
push 0
lea ecx, [ebp - 0x3a8]
call fcn.00509430
test eax, eax
jne 0x5087fa
mov ecx, dword [ebp - 0x37c]
push 0x9b
call fcn.00507630
jmp 0x5092b6
mov esi, dword [ebp - 0x3a0]
jmp 0x508800
mov edi, dword [ebp - 0x37c]
lea eax, [ebp - 0x39c]
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3cc], eax
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 0x18
call fcn.004e5aa0
cmp dword [ebp - 0x40], 0x10
lea ecx, [ebp - 0x3c8]
push 0
push ecx
push dword [ebp - 0x44]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x19
cmovae eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x3cc]
push dword [eax]
call fcn.00460ff0
add esp, 0x14
test eax, eax
jne 0x509282
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x3cc]
call fcn.0051a1f0
test al, al
je 0x509282
lea ecx, [ebp - 0x38c]
call fcn.004e5940
push 0x134
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 0x1a
call fcn.004d4560
test eax, eax
jne 0x5088a6
push 0x736434
lea ecx, [ebp - 0x38c]
call fcn.004cce60
lea ecx, [ebp - 0x41c]
call fcn.004edd20
test al, al
jne 0x5088d5
push 1
lea eax, [ebp - 0x394]
push eax
lea ecx, [edi + 4]
call fcn.00506f60
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x509122
lea ecx, [ebp - 0x384]
call fcn.004e5940
push str.true_name
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
call fcn.0044f260
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x41c]
call fcn.004e9910
mov ecx, eax
call fcn.0044f2e0
lea ecx, [ebp - 0x374]
push 0xfde9
mov dword [ebp - 0x378], ecx
lea ecx, [ebp - 0x378]
push eax
call fcn.004d3aa0
push dword [ebp - 0x378]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1d
call fcn.004e5970
lea ecx, [ebp - 0x378]
call fcn.004cca20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x20
call fcn.0044f440
cmp dword [ebp - 0x74], 0
mov edi, dword [ebp - 0x38c]
jne 0x50896e
push edi
lea ecx, [ebp - 0x84]
call fcn.004ccf80
jmp 0x508983
mov ecx, dword [ebp - 0x37c]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ecx + 0x50]
call fcn.00506ec0
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push dword [ebp - 0x3d8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x384]
push eax
lea ecx, [ebp - 0x3c0]
call fcn.00506f80
mov edx, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x384]
mov edx, dword [edx + 0x218]
lea ecx, [eax - 0x10]
sub edx, 0x10
mov dword [ebp - 0x3c0], ecx
mov dword [ebp - 0x3a8], edx
cmp ecx, edx
je 0x508a56
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [ebp - 0x3d8], esi
mov esi, dword [ebp - 0x3a0]
jl 0x508a41
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x508a41
push dword [ebp - 0x3c0]
call fcn.004e8050
mov dword [ebp - 0x3c0], eax
add esp, 4
mov eax, dword [ebp - 0x3d8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x508a2a
mov eax, dword [ebp - 0x3a8]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x3c0]
add eax, 0x10
mov dword [edx + 0x218], eax
jmp 0x508a56
mov ecx, dword [ebp - 0x37c]
push dword [eax - 0xc]
push eax
lea ecx, [ecx + 0x218]
call fcn.004de900
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x37c]
cmovae eax, dword [ebp - 0x84]
push eax
lea ecx, [ecx + 0x218]
call fcn.00506f10
mov ecx, dword [ebp - 0x37c]
push 0x739fd4
lea ecx, [ecx + 0x218]
call fcn.00506f10
push str.email
lea ecx, [ebp - 0x3c]
call fcn.0044f260
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x41c]
call fcn.004e9910
mov ecx, eax
call fcn.0044f2e0
lea ecx, [ebp - 0x270]
push 0xfde9
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x274]
push eax
call fcn.004d3aa0
mov ecx, dword [ebp - 0x37c]
push dword [ebp - 0x274]
add ecx, 0x38
mov byte [ebp - 4], 0x22
call fcn.004ccf80
lea ecx, [ebp - 0x274]
call fcn.004cca20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x20
call fcn.0044f440
mov ecx, dword [ebp - 0x37c]
lea ecx, [ecx + 0x38]
call fcn.004fb920
push eax
push dword [ebp - 0x3d0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x384]
push eax
lea ecx, [ebp - 0x3a4]
call fcn.00506f80
mov ecx, dword [ebp - 0x37c]
lea eax, [ebp - 0x384]
push eax
lea ecx, [ecx + 0x218]
call fcn.00506ef0
mov ecx, dword [ebp - 0x37c]
lea ecx, [ecx + 0x38]
call fcn.004fb920
mov ecx, dword [ebp - 0x37c]
push eax
lea ecx, [ecx + 0x218]
call fcn.00506f10
mov ecx, dword [ebp - 0x37c]
push 0x739fd4
lea ecx, [ecx + 0x218]
call fcn.00506f10
cmp byte [ebp - 0x385], 0
jne 0x508d72
mov eax, dword [ebp - 0x37c]
add eax, 0x68
push eax
lea eax, [ebp - 0x118]
push str.SELECT_name_FROM_org_WHERE_ou
push eax
call fcn.0044e8f0
push 0x7c4380
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x23
push eax
call fcn.0044f050
add esp, 0x18
lea ecx, [ebp - 0x54]
push eax
call fcn.0044e870
lea ecx, [ebp - 0xe4]
call fcn.0044f440
lea ecx, [ebp - 0x118]
call fcn.0044f440
lea eax, [ebp - 0x39c]
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x24
call fcn.004e5aa0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x3d4]
call fcn.004f25e0
test al, al
je 0x509020
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0051a1f0
test al, al
je 0x509020
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x26
call fcn.004edd20
test al, al
je 0x508cdb
push 0x734a98
lea ecx, [ebp - 0xe4]
call fcn.0044f260
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x100]
call fcn.004e9910
mov ecx, eax
call fcn.0044f2e0
lea ecx, [ebp - 0x270]
push 0xfde9
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x274]
push eax
call fcn.004d3aa0
push dword [ebp - 0x274]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x28
call fcn.004ccf80
lea ecx, [ebp - 0x274]
call fcn.004cca20
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x26
call fcn.0044f440
cmp dword [ebp - 0x2c], 0
jne 0x508cea
push edi
lea ecx, [ebp - 0x3c]
call fcn.004ccf80
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x384]
push eax
lea ecx, [ebp - 0x394]
call fcn.00506f80
mov esi, dword [ebp - 0x37c]
lea eax, [ebp - 0x384]
add esi, 0x218
push eax
mov ecx, esi
call fcn.00506ef0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov ecx, esi
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.00506f10
push 0x739fd4
mov ecx, esi
call fcn.00506f10
lea ecx, [ebp - 0x3c]
call fcn.004ccb20
lea ecx, [ebp - 0x100]
call fcn.004e68e0
mov eax, dword [ebp - 0x3d0]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x508d72
push eax
call fcn.00462630
add esp, 4
lea ecx, [ebp - 0x400]
call fcn.00509460
cmp eax, 3
jbe 0x50910c
mov eax, dword [ebp - 0x3c4]
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0xa4]
sar esi, 1
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
push 0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [ebp - 0x37d], 0
mov eax, 2
mov dword [ebp - 0x3a0], eax
je 0x508e23
push eax
lea ecx, [ebp - 0x41c]
call fcn.004e99e0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x508ddd
mov ecx, dword [eax]
cmp dword [eax + 0x10], 1
jne 0x508e18
push 1
push 0x738fbc
push ecx
call fcn.00509480
add esp, 0xc
test eax, eax
jne 0x508e18
mov ecx, dword [ebp - 0x37c]
lea eax, [ebp - 0x394]
push 1
push eax
lea ecx, [ecx + 4]
call fcn.00506f60
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, 3
mov dword [ebp - 0x3a0], eax
mov esi, dword [ebp - 0x3bc]
cmp esi, dword [ebp - 0x3b8]
je 0x50910c
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp - 0x3a4], eax
push dword [ebp - 0x3c4]
lea eax, [ebp - 0xa4]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3a8], esi
jb 0x508e6a
mov eax, dword [esi]
mov dword [ebp - 0x3a8], eax
mov ecx, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xa0]
sub eax, edx
push 0
push dword [0x7f44ec]
push 0
push dword [ecx + 4]
mov ecx, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, ecx
push eax
push edx
push ecx
push 0x50000002
push dword [ebp - 0x3a8]
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x50924f
push 1
push dword [ebp - 0x390]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x3c4]
lea eax, [ebp - 0x94]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x410]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x394], edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x3a0]
jbe 0x5093f3
mov eax, dword [ebp - 0x394]
add eax, dword [ebp - 0x3a4]
cmp dword [eax + 0x14], 0x10
jb 0x508f27
mov eax, dword [eax]
lea ecx, [ebp - 0x270]
push 0xfde9
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x274]
push eax
call fcn.004d3aa0
push dword [ebp - 0x274]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x29
call fcn.004e5970
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x2b
cmp eax, ecx
je 0x508f73
push eax
call fcn.006fa47e
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x508f99
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x508f80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x3c]
call fcn.004da1e0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x37c]
cmovae eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x90]
push 0
push dword [0x7f44ec]
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x88]
push 0
push dword [ecx + 4]
mov ecx, dword [ebp - 0x94]
sub eax, edx
push eax
mov eax, dword [ebp - 0x8c]
sub eax, ecx
push eax
push edx
push ecx
push 0x50000000
push dword [ebp - 0x394]
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x509235
push 1
push dword [ebp - 0x390]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x509018
mov edx, dword [esi]
test edx, edx
jne 0x509057
xor ecx, ecx
jmp 0x509075
mov ecx, dword [ebp - 0x37c]
push 0xa0
call fcn.00507630
lea ecx, [ebp - 0x100]
call fcn.004e68e0
mov eax, dword [ebp - 0x3d0]
test eax, eax
je 0x50925f
push eax
call fcn.00462630
add esp, 4
jmp 0x50925f
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x394], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x509062
sub ecx, dword [ebp - 0x394]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x37c]
push edx
lea ecx, [ecx + 0x218]
call fcn.004e7bd0
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x3c]
test edx, edx
jne 0x50909b
xor ecx, ecx
jmp 0x5090b9
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x394], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5090a6
sub ecx, dword [ebp - 0x394]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x37c]
push edx
lea ecx, [ecx + 0x218]
call fcn.004e7bd0
mov ecx, dword [ebp - 0x37c]
push 2
push 0x739fd4
lea ecx, [ecx + 0x218]
call fcn.004e7bd0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x20
call fcn.004ccb20
inc dword [ebp - 0x3a0]
add esi, 0x18
add dword [ebp - 0x3a4], 0x18
cmp esi, dword [ebp - 0x3b8]
jne 0x508e41
lea ecx, [ebp - 0x84]
call fcn.004ccb20
lea ecx, [ebp - 0x384]
call fcn.004cc9f0
lea ecx, [ebp - 0x38c]
call fcn.004cc9f0
lea ecx, [ebp - 0x41c]
call fcn.004e68e0
mov eax, dword [ebp - 0x3c8]
test eax, eax
je 0x509155
push eax
call fcn.00462630
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x3c8], eax
lea ecx, [ebp - 0x6c]
call fcn.0044f440
mov esi, dword [ebp - 0x3bc]
test esi, esi
je 0x5091a3
lea ecx, [ebp - 0x3bc]
push ecx
push dword [ebp - 0x3b8]
push esi
call fcn.004e38e0
mov ecx, dword [ebp - 0x398]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
lea ecx, [ebp - 0x3bc]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004fb930
lea ecx, [ebp - 0x400]
call fcn.004e68e0
lea ecx, [ebp - 0x54]
call fcn.0044f440
mov eax, dword [ebp - 0x3ac]
test eax, eax
je 0x5091d3
push eax
call fcn.00462630
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x39c]
test eax, eax
je 0x5091f0
push eax
call fcn.0045d5b0
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x39c], eax
lea ecx, [ebp - 0xcc]
call fcn.0044f440
mov esi, 1
lea ecx, [ebp - 0x170]
call fcn.0051cac0
lea ecx, [ebp - 0x150]
call fcn.0044f440
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x37c]
push 0x9b
call fcn.00507630
lea ecx, [ebp - 0x3c]
call fcn.004ccb20
jmp 0x50925f
mov ecx, dword [ebp - 0x37c]
push 0x9b
call fcn.00507630
lea ecx, [ebp - 0x84]
call fcn.004ccb20
lea ecx, [ebp - 0x384]
call fcn.004cc9f0
lea ecx, [ebp - 0x38c]
call fcn.004cc9f0
jmp 0x50928e
push 0xa0
mov ecx, edi
call fcn.00507630
lea ecx, [ebp - 0x41c]
call fcn.004e68e0
mov eax, dword [ebp - 0x3c8]
test eax, eax
je 0x5092b6
push eax
call fcn.00462630
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x3c8], eax
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x5092ea
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5092e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093f8
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov esi, dword [ebp - 0x3bc]
test esi, esi
je 0x509330
lea eax, [ebp - 0x3bc]
push eax
push dword [ebp - 0x3b8]
push esi
call fcn.004e38e0
mov ecx, dword [ebp - 0x398]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
lea ecx, [ebp - 0x3bc]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004fb930
lea ecx, [ebp - 0x400]
call fcn.004e68e0
mov esi, 1
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x509374
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50936a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5093f8
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
test eax, eax
je 0x5093a3
push eax
call fcn.00462630
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x39c]
test eax, eax
je 0x5093c0
push eax
call fcn.0045d5b0
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x39c], eax
lea ecx, [ebp - 0xcc]
call fcn.0044f440
jmp 0x509200
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.0044f120
call fcn.006fb96e
call fcn.006fb96e
call fcn.004fb850
call fcn.006fb96e
int3