Function at 0x4974b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146333
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101d74a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
push 0x10166684
push eax
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x68], ecx
call dword [0x10152188]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call dword [0x101521b8]
mov edi, dword [ebp - 0x40]
add esp, 0x10
cmp edi, ebx
jne 0x497534
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call dword [0x10152184]
xor eax, eax
jmp 0x497ed8
mov ebx, dword [0x101521c8]
push esi
lea ecx, [ebp - 0x34]
call ebx
mov esi, eax
lea ecx, [ebp - 0x38]
push 0x10166724
push ecx
mov byte [ebp - 4], 2
call 0x3be1d0
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [edi]
mov ecx, esi
mov esi, dword [0x10152198]
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], edx
call esi
mov ecx, dword [ebp - 0x28]
push eax
call esi
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xe8]
push edi
call ecx
mov edi, dword [0x10152194]
lea ecx, [ebp - 0x38]
call edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call edi
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x2c]
push 0x101669f0
push eax
mov dword [ebp - 0x28], edx
call 0x3be1d0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push 0x10166760
push ecx
mov byte [ebp - 4], 4
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov dword [ebp - 0x44], eax
call esi
mov ecx, dword [ebp - 0x38]
push eax
call esi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
push eax
mov eax, dword [edx + 0xe8]
push ecx
call eax
lea ecx, [ebp - 0x30]
call edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call edi
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x44]
push 0x10166a08
push edx
mov dword [ebp - 0x28], ecx
call 0x3be1d0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 6
push 0x10166778
lea eax, [ebp - 0x38]
push eax
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], edx
call esi
mov ecx, dword [ebp - 0x30]
push eax
call esi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xe8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call edx
lea ecx, [ebp - 0x38]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call edi
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
push 0x10166a2c
push ecx
mov dword [ebp - 0x28], eax
call 0x3be1d0
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x38]
push 0x1016679c
push edx
mov byte [ebp - 4], 8
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
call esi
mov ecx, dword [ebp - 0x30]
push eax
call esi
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xe8]
push edx
call ecx
lea ecx, [ebp - 0x38]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call edi
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x44]
push 0x10166aa8
push eax
mov dword [ebp - 0x28], edx
call 0x3be1d0
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x38]
push 0x101667c0
push ecx
mov byte [ebp - 4], 0xa
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x30]
push eax
call esi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [edx + 0xe8]
push ecx
call eax
lea ecx, [ebp - 0x38]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call edi
lea ecx, [ebp - 0x58]
push 0
push ecx
call dword [0x1015232c]
add esp, 8
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x28], edx
call ebx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x38]
push 0x10166748
push ecx
mov byte [ebp - 4], 0xd
call 0x3be1d0
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x34], eax
call esi
mov ecx, dword [ebp - 0x30]
push eax
call esi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [edx + 0xe8]
push ecx
call eax
lea ecx, [ebp - 0x38]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call edi
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [0x10152328]
add esp, 8
push 0x2e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call dword [0x101521ec]
cmp eax, 0xa
jle 0x4977c0
mov eax, 0xa
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54]
call dword [0x101521e8]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x28], ecx
push edx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call ebx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push 0x10166734
push eax
mov byte [ebp - 4], 0x11
call 0x3be1d0
add esp, 8
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x30], edx
call esi
mov ecx, dword [ebp - 0x2c]
push eax
call esi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xe8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call edx
lea ecx, [ebp - 0x34]
call edi
lea ecx, [ebp - 0x38]
call edi
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x13
call dword [0x10152324]
add esp, 4
cmp dword [ebp - 0x4c], 0
jne 0x497892
mov esi, dword [0x10152184]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp - 0x40]
test eax, eax
mov byte [ebp - 4], 0
je 0x49787f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
jmp 0x497ed8
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
push 0x10166af8
push ecx
mov dword [ebp - 0x28], eax
call 0x3be1d0
add esp, 8
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ecx
push edx
mov ecx, eax
mov byte [ebp - 4], 0x14
call esi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x100]
push eax
mov eax, dword [ebp - 0x28]
push eax
call edx
lea ecx, [ebp - 0x2c]
call edi
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x15
call dword [0x101521b8]
mov eax, dword [ebp - 0x5c]
add esp, 4
test eax, eax
jne 0x49794b
mov eax, dword [ebp - 0x4c]
test eax, eax
mov byte [ebp - 4], 0x10
je 0x497904
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [0x10152184]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp - 0x40]
test eax, eax
mov byte [ebp - 4], 0
je 0x497938
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
jmp 0x497ed8
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xf0]
push ecx
call eax
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 0x16
call dword [0x10152324]
mov eax, dword [ebp - 0x5c]
add esp, 4
cmp dword [ebp - 0x64], 0
jne 0x4979e5
test eax, eax
mov byte [ebp - 4], 0x13
je 0x49798b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x4c]
test eax, eax
mov byte [ebp - 4], 0x10
je 0x49799e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [0x10152184]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp - 0x40]
test eax, eax
mov byte [ebp - 4], 0
je 0x4979d2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
jmp 0x497ed8
lea ecx, [ebp - 0x2c]
push 0x10166b18
push ecx
mov dword [ebp - 0x28], eax
call 0x3be1d0
add esp, 8
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], ecx
push edx
mov ecx, eax
mov byte [ebp - 4], 0x17
call esi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x100]
push eax
mov eax, dword [ebp - 0x28]
push eax
call edx
lea ecx, [ebp - 0x2c]
call edi
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x18
call dword [0x101521b8]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x64]
add esp, 4
test ecx, ecx
jne 0x497ac1
test eax, eax
mov byte [ebp - 4], 0x15
je 0x497a54
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x5c]
test eax, eax
mov byte [ebp - 4], 0x13
je 0x497a67
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
test eax, eax
mov byte [ebp - 4], 0x10
je 0x497a7a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [0x10152184]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp - 0x40]
test eax, eax
mov byte [ebp - 4], 0
je 0x497aae
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
jmp 0x497ed8
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x38]
push 0x10166a54
push edx
mov dword [ebp - 0x28], ecx
call 0x3be1d0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push 0x10166844
push eax
mov byte [ebp - 4], 0x19
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x30], edx
call esi
mov ecx, dword [ebp - 0x2c]
push eax
call esi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xe8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call edx
lea ecx, [ebp - 0x34]
call edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x18
call edi
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x38]
push 0x10166a74
push ecx
mov dword [ebp - 0x28], eax
call 0x3be1d0
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x34]
push 0x10166854
push edx
mov byte [ebp - 4], 0x1b
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x1c
call esi
mov ecx, dword [ebp - 0x2c]
push eax
call esi
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xe8]
push edx
call ecx
lea ecx, [ebp - 0x34]
call edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x18
call edi
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x28], edx
push 0x10166a88
lea eax, [ebp - 0x38]
push eax
call 0x3be1d0
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x34]
push 0x10166868
push ecx
mov byte [ebp - 4], 0x1d
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x30], eax
call esi
mov ecx, dword [ebp - 0x2c]
push eax
call esi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
push eax
mov eax, dword [edx + 0xe8]
push ecx
call eax
lea ecx, [ebp - 0x34]
call edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x18
call edi
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x38]
push 0x10166a98
push edx
mov dword [ebp - 0x28], ecx
call 0x3be1d0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push 0x10166878
push eax
mov byte [ebp - 4], 0x1f
call 0x3be1d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x30], edx
call esi
mov ecx, dword [ebp - 0x2c]
push eax
call esi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xe8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call edx
lea ecx, [ebp - 0x34]
call edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x18
call edi
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x28], eax
call ebx
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x30]
push 0x10166888
push edx
mov byte [ebp - 4], 0x21
call 0x3be1d0
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0x22
call esi
mov ecx, dword [ebp - 0x3c]
push eax
call esi
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xe8]
push edx
call ecx
lea ecx, [ebp - 0x30]
call edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
call edi
xor eax, eax
push 0x10
lea edx, [ebp - 0x24]
push edx
push 0xff4da6de
mov word [ebp - 0x24], ax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call dword [0x10152904]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x6c]
mov word [ebp - 0x14], 0
call dword [0x101521f0]
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x28], ecx
push edx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x23
call ebx
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x30]
push 0x10166ae0
push eax
mov byte [ebp - 4], 0x24
call 0x3be1d0
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x2c], edx
call esi
mov ecx, dword [ebp - 0x3c]
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xe8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call edx
lea ecx, [ebp - 0x30]
call edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x23
call edi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call ebx
mov ebx, eax
lea ecx, [ebp - 0x2c]
push 0x10166ab0
push ecx
mov byte [ebp - 4], 0x26
call 0x3be1d0
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x40]
mov ecx, ebx
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x68], edx
call esi
mov ecx, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x68]
push eax
call esi
push eax
call dword [0x10152320]
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x2c]
sete bl
call edi
lea ecx, [ebp - 0x30]
call edi
mov esi, dword [0x10152184]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x18
call esi
test bl, bl
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x16
je 0x497e54
test eax, eax
je 0x497dda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x64]
test eax, eax
mov byte [ebp - 4], 0x15
je 0x497ded
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x5c]
test eax, eax
mov byte [ebp - 4], 0x13
je 0x497e00
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
test eax, eax
mov byte [ebp - 4], 0x10
je 0x497e13
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp - 0x40]
test eax, eax
mov byte [ebp - 4], 0
je 0x497e41
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
jmp 0x497ed8
test eax, eax
je 0x497e60
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x64]
test eax, eax
mov byte [ebp - 4], 0x15
je 0x497e73
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x5c]
test eax, eax
mov byte [ebp - 4], 0x13
je 0x497e86
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
test eax, eax
mov byte [ebp - 4], 0x10
je 0x497e99
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call esi
mov eax, dword [ebp - 0x40]
test eax, eax
mov byte [ebp - 4], 0
je 0x497ec7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e35fa
mov esp, ebp
pop ebp
ret