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

Disassembly:
push 0xffffffffffffffff
push 0x1039c892
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x105623f8]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
lea ebp, [esi + 4]
xor ebx, ebx
mov dword [esi], 0x1046de14
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov dword [esp + 0x4c], ebx
mov word [ebp + 4], cx
lea ecx, [esi + 0x24]
mov byte [esp + 0x4c], 1
call fcn.004072ef
lea ecx, [esi + 0x44]
call fcn.0057fe9f
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 3
mov dword [esi + 0x40], ebx
fld qword [0x10470438]
mov edx, 1
mov word [esi + 0x5c], dx
mov ecx, edx
xor edx, edx
mov eax, 0x64
mov word [esi + 0x5e], ax
mov word [esi + 0x60], cx
mov word [esi + 0x62], dx
fstp qword [esi + 0x68]
mov eax, ecx
mov word [esi + 0x70], ax
xor ecx, ecx
mov word [esi + 0x72], cx
mov word [esi + 0x74], dx
mov word [esi + 0x76], ax
mov word [esi + 0x78], cx
xor eax, eax
mov word [esi + 0x7c], ax
mov word [esi + 0x7e], cx
mov word [esi + 0x7a], dx
mov word [esi + 0x80], dx
mov eax, 0xff
mov word [esi + 0x82], ax
mov ecx, 0x4c1
mov word [esi + 0x84], cx
mov eax, dword [edi]
mov ecx, dword [eax + 0xac]
lea edx, [edi + 0x87c]
push edx
push edi
mov byte [esp + 0x54], 2
call ecx
add esp, 4
cmp eax, 0x500
setle dl
movzx eax, dl
push eax
lea ecx, [esi + 0x88]
call fcn.00429dbf
lea ecx, [esi + 0x130]
mov byte [esp + 0x4c], 3
call fcn.0042a10f
mov ecx, 8
mov word [esi + 0x13c], cx
mov edx, dword [edi]
mov eax, dword [edx + 0xac]
push edi
call eax
add esp, 4
cmp eax, 0x500
setle cl
movzx edx, cl
push edx
lea ecx, [esi + 0x140]
call fcn.0040c84f
mov eax, dword [edi]
mov ecx, dword [eax + 0xac]
push edi
call ecx
add esp, 4
cmp eax, 0x500
setle dl
movzx eax, dl
push eax
lea ecx, [esi + 0x150]
call fcn.00421d9f
lea ecx, [esi + 0x164]
call fcn.0041eb3f
lea ecx, [esi + 0x184]
mov byte [esp + 0x4c], 4
call fcn.0041fdcf
lea ecx, [esi + 0x188]
call fcn.0057fe9f
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x4c], 5
call fcn.0057fe9f
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x4c], 6
call fcn.0057fe9f
mov ecx, 0x89c
mov word [esi + 0x1b8], cx
mov byte [esi + 0x1d4], 1
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x4c], 7
call fcn.0057fe9f
mov edx, 0x90
mov word [esi + 0x1dc], dx
mov byte [esi + 0x1f8], 1
lea ecx, [esi + 0x200]
mov byte [esp + 0x4c], 8
call fcn.0057fe9f
mov eax, 0x874
mov word [esi + 0x1fc], ax
mov byte [esi + 0x218], 1
lea ecx, [esi + 0x220]
mov byte [esp + 0x4c], 9
call fcn.0057fe9f
mov ecx, 0x9d
mov word [esi + 0x21c], cx
mov byte [esi + 0x238], 1
lea ecx, [esi + 0x240]
mov byte [esp + 0x4c], 0xa
call fcn.0057fe9f
mov edx, 0x1c2
mov word [esi + 0x23c], dx
mov byte [esi + 0x258], 1
lea ecx, [esi + 0x260]
mov byte [esp + 0x4c], 0xb
call fcn.0057fe9f
mov eax, 0x50
mov word [esi + 0x25c], ax
mov byte [esi + 0x278], 1
lea ecx, [esi + 0x280]
mov byte [esp + 0x4c], 0xc
call fcn.0057fe9f
mov ecx, 0x88b
mov word [esi + 0x27c], cx
mov byte [esi + 0x298], 1
lea ecx, [esi + 0x29c]
mov byte [esp + 0x4c], 0xd
call fcn.0040ca1f
lea ecx, [esi + 0x2a4]
call fcn.0057fe9f
mov edx, 0x1ba
mov word [esi + 0x2a0], dx
mov byte [esi + 0x2bc], 1
lea ecx, [esi + 0x2c0]
mov byte [esp + 0x4c], 0xe
call fcn.00420cdf
lea ecx, [esi + 0x2f0]
call fcn.0057fe9f
lea ecx, [esi + 0x308]
mov byte [esp + 0x4c], 0xf
call fcn.0057fe9f
lea ecx, [esi + 0x320]
mov byte [esp + 0x4c], 0x10
call fcn.0057fe9f
lea ecx, [esi + 0x338]
mov byte [esp + 0x4c], 0x11
call fcn.0057fe9f
lea ecx, [esi + 0x350]
mov byte [esp + 0x4c], 0x12
call fcn.0057fe9f
lea ecx, [esi + 0x368]
mov byte [esp + 0x4c], 0x13
call fcn.0057fe9f
lea ecx, [esi + 0x380]
mov byte [esp + 0x4c], 0x14
call fcn.0057fe9f
lea ecx, [esi + 0x398]
mov byte [esp + 0x4c], 0x15
call fcn.0057fe9f
lea ecx, [esi + 0x3b0]
mov byte [esp + 0x4c], 0x16
call fcn.0057fe9f
lea ecx, [esi + 0x3c8]
mov byte [esp + 0x4c], 0x17
call fcn.0057fe9f
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x4c], 0x18
call fcn.0057fe9f
lea ecx, [esi + 0x3f8]
mov byte [esp + 0x4c], 0x19
call fcn.0057fe9f
lea ecx, [esi + 0x410]
mov byte [esp + 0x4c], 0x1a
call fcn.0057fe9f
lea ecx, [esi + 0x428]
mov byte [esp + 0x4c], 0x1b
call fcn.0057fe9f
lea ecx, [esi + 0x440]
mov byte [esp + 0x4c], 0x1c
call fcn.0057fe9f
lea ecx, [esi + 0x458]
mov byte [esp + 0x4c], 0x1d
call fcn.0057fe9f
push edi
lea ecx, [esi + 0x474]
mov byte [esp + 0x50], 0x1e
call fcn.004bec8f
lea ecx, [esi + 0x4d4]
mov byte [esp + 0x4c], 0x1f
call fcn.0057fe9f
lea ecx, [esi + 0x4ec]
mov byte [esp + 0x4c], 0x20
call fcn.0041e7ff
lea ecx, [esi + 0x4f8]
call fcn.004a07cf
xor eax, eax
mov dword [esi + 0x40510], 7
mov dword [esi + 0x4050c], ebx
mov word [esi + 0x404fc], ax
xor ecx, ecx
mov word [esi + 0x40516], cx
lea ecx, [esi + 0x40518]
mov byte [esp + 0x4c], 0x22
call fcn.00576b1f
lea ecx, [esi + 0x40558]
push ebx
mov byte [esp + 0x50], 0x23
call fcn.0045293f
mov byte [esi + 0x4113c], bl
mov eax, dword [edi + 0x9fc]
mov byte [esp + 0x4c], 0x24
cmp eax, 0x10
jne 0x49bbf9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
lea eax, [edi + 0x9b0]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0040509f
lea edx, [esp + 0x40]
push edx
call fcn.004bd4cf
add esp, 0x20
mov eax, dword [esp + 0x38]
mov byte [esp + 0x4c], 0x25
cmp eax, 0x10
jb 0x49bb56
push 0xffffffffffffffff
push 0x10
lea ecx, [esp + 0x2c]
call fcn.00404daf
jmp 0x49bb68
mov ecx, 0x10
sub ecx, eax
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040845f
call fcn.0077a3b6
and eax, 0x8000000f
jns 0x49bb79
dec eax
or eax, 0xfffffff0
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x38]
jbe 0x49bb88
call fcn.00776e71
cmp dword [esp + 0x3c], 0x10
jb 0x49bb99
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
jmp 0x49bba1
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [edi + 0x9fc]
jbe 0x49bbb6
call fcn.00776e71
mov ecx, dword [esp + 0x14]
cmp dword [edi + 0xa00], 0x10
jb 0x49bbc7
mov eax, dword [edi + 0x9ec]
jmp 0x49bbcd
lea eax, [edi + 0x9ec]
mov edx, dword [esp + 0x1c]
mov dl, byte [edx + ecx]
cmp dl, byte [eax + ecx]
mov byte [esp + 0x4c], 0x24
sete al
cmp dword [esp + 0x3c], 0x10
mov byte [esi + 0x4113c], al
jb 0x49bbf9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00776c58
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esi + 0x20], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x49bc03
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
push eax
push edx
mov ecx, ebp
call fcn.0040836f
xor ecx, ecx
mov eax, 0x10
mov word [esi + 0x26], ax
mov word [esi + 0x470], cx
or eax, 0xffffffff
mov byte [esi + 0x40514], bl
mov byte [esi + 0x40d34], bl
lea edi, [esi + 0x40d38]
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x20]
cmp byte [eax + 0x9a8], bl
je 0x49c13d
mov byte [eax + 0x9a8], bl
mov ecx, dword [esi + 0x148]
mov edx, dword [esi + 0x140]
mov eax, dword [esi + 0x144]
mov dword [esp + 0x2c], ecx
mov cx, word [0x1056993c]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x14c]
inc cx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
cmp cx, 3
jbe 0x49bc9b
xor ecx, ecx
xor edi, edi
mov dl, 1
mov dword [esp + 0x14], ebx
mov al, 0x98
mov dword [esp + 0x18], 0x1047060c
mov edi, edi
and al, 0xf
cbw
cmp dl, bl
je 0x49bcc0
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x49bce6
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + edi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x18]
cmp dl, bl
sete dl
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, bl
jne 0x49bcaf
movzx eax, cx
imul eax, eax, 0xfff
lea ebp, [eax + 0x10565940]
mov byte [eax + edi + 0x10565940], bl
mov edi, ebp
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
cmp al, bl
jne 0x49bd15
sub edi, edx
mov eax, ebx
je 0x49bd41
jmp 0x49bd2f
movsx dx, byte [eax + ebp]
mov word [eax*2 + 0x10563940], dx
inc eax
cmp eax, edi
jb 0x49bd2f
inc cx
xor eax, eax
mov word [edi*2 + 0x10563940], ax
mov word [0x1056993c], cx
cmp cx, 3
jbe 0x49bd63
xor ecx, ecx
mov word [0x1056993c], cx
xor edi, edi
mov dl, 1
mov dword [esp + 0x14], ebx
mov al, 0x4b
mov dword [esp + 0x18], 0x104705c8
and al, 0xf
cbw
cmp dl, bl
je 0x49bd86
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x49bdac
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + edi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x18]
cmp dl, bl
sete dl
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, bl
jne 0x49bd75
movzx eax, cx
imul eax, eax, 0xfff
lea ebp, [eax + 0x10565940]
mov byte [eax + edi + 0x10565940], bl
mov edi, ebp
lea edx, [edi + 1]
lea esp, [esp]
mov al, byte [edi]
inc edi
cmp al, bl
jne 0x49bddf
sub edi, edx
mov eax, ebx
je 0x49be01
lea ecx, [ecx]
movsx dx, byte [eax + ebp]
mov word [eax*2 + 0x10563940], dx
inc eax
cmp eax, edi
jb 0x49bdef
xor eax, eax
mov word [edi*2 + 0x10563940], ax
mov edx, dword [esi + 0x20]
inc cx
cmp byte [edx + 0xa04], bl
mov word [0x1056993c], cx
je 0x49bed7
cmp cx, 3
jbe 0x49be32
xor ecx, ecx
mov word [0x1056993c], cx
xor edi, edi
mov dl, 1
mov dword [esp + 0x14], ebx
mov al, 0x53
mov dword [esp + 0x18], 0x10470508
and al, 0xf
cbw
cmp dl, bl
je 0x49be55
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x49be7b
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + edi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x18]
cmp dl, bl
sete dl
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, bl
jne 0x49be44
movzx eax, cx
imul eax, eax, 0xfff
mov byte [eax + edi + 0x10565940], bl
lea edi, [eax + 0x10565940]
mov eax, edi
lea edx, [eax + 1]
jmp 0x49beaf
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49beaf
sub eax, edx
mov ecx, ebx
je 0x49bf91
movsx dx, byte [ecx + edi]
mov word [ecx*2 + 0x10563940], dx
inc ecx
cmp ecx, eax
jb 0x49bec0
jmp 0x49bf91
cmp cx, 3
jbe 0x49bee6
xor ecx, ecx
mov word [0x1056993c], cx
xor edi, edi
mov dl, 1
mov dword [esp + 0x14], ebx
mov al, 0x33
mov dword [esp + 0x18], 0x10470448
lea esp, [esp]
and al, 0xf
cbw
cmp dl, bl
je 0x49bf10
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x49bf36
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + edi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x18]
cmp dl, bl
sete dl
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, bl
jne 0x49beff
movzx eax, cx
imul eax, eax, 0xfff
mov byte [eax + edi + 0x10565940], bl
lea edi, [eax + 0x10565940]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49bf65
sub eax, edx
mov ecx, ebx
je 0x49bf91
jmp 0x49bf7f
movsx dx, byte [ecx + edi]
mov word [ecx*2 + 0x10563940], dx
inc ecx
cmp ecx, eax
jb 0x49bf7f
xor ecx, ecx
mov word [eax*2 + 0x10563940], cx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x9a0]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push 2
push ecx
push 0x10563940
push ebx
push ebx
push esi
call edx
mov ax, word [0x1056993c]
inc ax
add esp, 0x18
mov word [0x1056993c], ax
cmp ax, 3
jbe 0x49bfd5
xor eax, eax
mov word [0x1056993c], ax
xor edi, edi
mov cl, 1
mov dword [esp + 0x14], ebx
mov al, 0x98
mov ebp, 0x1047060c
and al, 0xf
movsx dx, al
cmp cl, bl
je 0x49bff7
movzx eax, dx
mov dword [esp + 0x14], eax
jmp 0x49c019
movzx eax, word [0x1056993c]
imul eax, eax, 0xfff
shl dx, 4
add word [esp + 0x14], dx
mov dl, byte [esp + 0x14]
mov byte [eax + edi + 0x10565940], dl
inc edi
mov al, byte [ebp + 1]
cmp cl, bl
sete cl
inc ebp
cmp al, bl
jne 0x49bfe4
movzx eax, word [0x1056993c]
imul eax, eax, 0xfff
mov byte [eax + edi + 0x10565940], bl
lea edi, [eax + 0x10565940]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49c045
sub eax, edx
mov ecx, ebx
je 0x49c071
jmp 0x49c05f
movsx dx, byte [ecx + edi]
mov word [ecx*2 + 0x10563940], dx
inc ecx
cmp ecx, eax
jb 0x49c05f
push 0xff
push ebx
xor ecx, ecx
mov word [eax*2 + 0x10563940], cx
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
push ebx
push ebx
push esi
mov byte [esi + 0x4113c], 1
call eax
fld qword [0x10470440]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x68]
add esp, 0x14
push ebx
push ebx
sub esp, 8
fstp qword [esp]
push ebx
push esi
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x140], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x144], ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x148], edx
mov dword [esi + 0x14c], eax
mov byte [ecx + 0x9a8], 1
mov ax, word [0x1056993c]
inc ax
add esp, 0x18
mov word [0x1056993c], ax
cmp ax, 3
jbe 0x49c100
xor eax, eax
mov word [0x1056993c], ax
movzx edi, ax
imul edi, edi, 0xfff
lea edi, [edi + 0x10565940]
mov eax, edi
mov byte [edi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49c116
sub eax, edx
je 0x49c133
movsx dx, byte [ebx + edi]
mov word [ebx*2 + 0x10563940], dx
inc ebx
cmp ebx, eax
jb 0x49c121
xor ecx, ecx
mov word [eax*2 + 0x10563940], cx
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00777267
add esp, 0x3c
ret 8