Function at 0x4a7cf8
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a9f52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.0050d46e
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x12c], edi
call fcn.0050d46e
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 1
call fcn.0050d46e
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 2
call fcn.0050d46e
lea ecx, [esp + 0x24]
mov byte [esp + 0x12c], 3
call fcn.004c5a38
lea ecx, [esp + 0x2c]
mov byte [esp + 0x12c], 4
call fcn.0050d46e
lea ecx, [esp + 0x30]
mov byte [esp + 0x12c], 5
call fcn.0050d46e
push edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x130], 6
call fcn.004b3b78
push edi
lea ecx, [esp + 0x118]
mov byte [esp + 0x130], 7
call fcn.004b3b78
lea ecx, [esp + 0x68]
mov byte [esp + 0x12c], 8
call fcn.004af1d8
mov edx, dword [0x4de8b0]
push edi
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [edx + 0x110]
mov byte [esp + 0x13c], 9
call fcn.00479dc8
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x2c]
call fcn.004c5c48
mov eax, dword [ebp + 4]
cmp dword [eax + 0x58], 1
jne 0x4a7e2e
mov edx, dword [eax + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0eb8
call fcn.0050d630
lea ecx, [esp + 0x2c]
call fcn.004c5c48
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x134], 0xa
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x2c]
mov byte [esp + 0x134], 9
call fcn.004c5ab8
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x134], 0xb
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x2c]
mov byte [esp + 0x134], 9
call fcn.004c5ab8
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4d0c4c
call fcn.0050d630
lea ecx, [esp + 0x2c]
call fcn.004c5c48
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call fcn.004c5a98
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 0xc
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 9
call fcn.0050d468
mov eax, dword [0x4de8b0]
push 1
push 1
mov edx, dword [eax + 0x110]
lea ecx, [eax + 0x110]
call dword [edx + 4]
push 1
push 1
push 1
lea ecx, [esp + 0x20]
call fcn.00470bf8
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.0050d492
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x4d8880
call fcn.0050d618
mov eax, dword [ebp + 4]
push ecx
mov byte [esp + 0x148], 0xd
mov ecx, esp
mov dword [esp + 0x12c], esp
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x58]
push edx
push 9
push eax
push ecx
mov ecx, ebp
call fcn.004a2258
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 9
push ecx
mov ecx, ebp
call fcn.004a2e38
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 0xe
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 9
call fcn.0050d468
mov edx, dword [0x4de8b0]
push 1
push edi
mov eax, dword [edx + 0x110]
lea ecx, [edx + 0x110]
call dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0050d48c
push edi
lea ecx, [esp + 0x1c]
call fcn.0050d492
mov cl, byte [esp + 0x47]
mov esi, eax
mov byte [esp + 0x48], cl
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x4c]
push ebx
call dword [fcn.004b4614]
test al, al
je 0x4a801e
mov edi, dword [esp + 0x4c]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x58]
push 1
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x74]
mov byte [esp + 0x138], 0xf
call fcn.004af268
and eax, 0xff
xor ebx, ebx
mov edi, eax
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov byte [esp + 0x12c], 9
je 0x4a8071
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4a8068
cmp al, 0xff
je 0x4a8068
dec al
mov byte [ecx], al
jmp 0x4a8071
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0050d48c
cmp edi, ebx
je 0x4a809e
lea ecx, [esp + 0x58]
call fcn.004b4318
xor ecx, ecx
cmp eax, 7
sete cl
mov edi, ecx
cmp edi, ebx
jne 0x4a80ac
push 0x4d15dc
jmp 0x4a80a3
push 0x4d13b4
lea ecx, [esp + 0x34]
call fcn.0050d47a
lea edx, [esp + 0x2c]
push ebx
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, ebp
call fcn.004a23a8
and edi, eax
jne 0x4a827e
mov esi, dword [esp + 0x138]
cmp esi, ebx
je 0x4a80ff
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0050d5e8
lea edx, [esp + 0x30]
lea ecx, [esi + 4]
push edx
call fcn.0050d5e8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x130], 0x12
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x130], 0x11
call dword [fcn.004b461c]
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x12c], 0x10
cmp eax, ebx
je 0x4a8191
mov eax, dword [esp + 0xa4]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xa8], eax
call fcn.004953a8
mov eax, dword [esp + 0xc4]
dec eax
mov dword [esp + 0xc4], eax
je 0x4a817c
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jne 0x4a8188
lea ecx, [esp + 0x98]
call fcn.004951f8
cmp dword [esp + 0xc4], ebx
jne 0x4a8140
mov eax, dword [esp + 0x94]
mov byte [esp + 0x12c], 8
cmp eax, ebx
je 0x4a81d8
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x94]
add ecx, 4
dec eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x94], eax
je 0x4a81c6
cmp ecx, dword [esp + 0x70]
jne 0x4a81cf
lea ecx, [esp + 0x68]
call fcn.004951f8
cmp dword [esp + 0x94], ebx
jne 0x4a81a4
lea ecx, [esp + 0x114]
mov byte [esp + 0x12c], 7
call fcn.004b4098
lea ecx, [esp + 0x58]
mov byte [esp + 0x12c], 6
call fcn.004b4098
lea ecx, [esp + 0x30]
mov byte [esp + 0x12c], 0x13
call fcn.0050d468
lea ecx, [esp + 0x2c]
mov byte [esp + 0x12c], 4
call fcn.0050d468
lea ecx, [esp + 0x24]
mov byte [esp + 0x12c], 3
call fcn.004c5a78
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 2
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 0
call fcn.0050d468
lea ecx, [esp + 0x20]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x4a8554
push 0x4d0ddc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3c], ebx
call fcn.004b5078
push eax
call fcn.00477948
mov ebp, dword [ebp + 4]
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x38], eax
mov ecx, dword [ebp + 0x38]
add esp, 4
sub ecx, eax
cmp esi, ebx
mov dword [ebp + 0x38], ecx
mov dword [edx + 0x60], 1
mov dword [esp + 0x3c], ebx
je 0x4a82f3
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0050d5e8
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 4]
call fcn.0050d5e8
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x130], 0x16
call dword [fcn.004b461c]
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x4a8332
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4a8329
cmp al, 0xff
je 0x4a8329
dec al
mov byte [ecx], al
jmp 0x4a8332
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xcc], ebx
cmp eax, ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov byte [esp + 0x12c], 0x14
je 0x4a83ab
mov eax, dword [esp + 0xa4]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xa8], eax
call fcn.004953a8
mov eax, dword [esp + 0xc4]
dec eax
mov dword [esp + 0xc4], eax
je 0x4a8396
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
cmp edx, eax
jne 0x4a83a2
lea ecx, [esp + 0x98]
call fcn.004951f8
cmp dword [esp + 0xc4], ebx
jne 0x4a835a
mov eax, dword [esp + 0x94]
mov byte [esp + 0x12c], 8
cmp eax, ebx
je 0x4a84b3
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x94]
add ecx, 4
dec eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x94], eax
je 0x4a83ec
mov eax, ecx
mov ecx, dword [esp + 0x70]
cmp eax, ecx
jne 0x4a84a6
mov ecx, dword [esp + 0x78]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x78], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x98]
add esp, 4
cmp eax, ebx
jne 0x4a8466
lea ecx, [esp + 0x48]
call fcn.004952b8
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
push ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], esi
call fcn.0050d474
add esp, 4
jmp 0x4a84a6
mov eax, dword [esp + 0x78]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x108]
call fcn.004952c8
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
cmp dword [esp + 0x94], ebx
jne 0x4a83c2
lea ecx, [esp + 0x114]
mov byte [esp + 0x12c], 7
call fcn.004b4098
lea ecx, [esp + 0x58]
mov byte [esp + 0x12c], 6
call fcn.004b4098
lea ecx, [esp + 0x30]
mov byte [esp + 0x12c], 0x17
call fcn.0050d468
lea ecx, [esp + 0x2c]
mov byte [esp + 0x12c], 4
call fcn.0050d468
lea ecx, [esp + 0x24]
mov byte [esp + 0x12c], 3
call fcn.004c5a78
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 2
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 0
call fcn.0050d468
lea ecx, [esp + 0x20]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0050d468
mov eax, edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret 8