Function at 0x4119d0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x542a22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], edi
mov dword [esp + 0x68], esi
call fcn.0053fedc
mov dword [esp + 0x174], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 0x5562fc
mov ebp, dword [edi + 0x420]
mov byte [esp + 0x174], 1
cmp ebp, esi
mov dword [esp + 0x88], ebp
jle 0x411a5b
mov ebx, dword [esp + 0x17c]
cmp esi, dword [edi + 0x420]
jae 0x411a4a
mov eax, dword [edi + 0x41c]
mov ecx, dword [eax + esi*4]
jmp 0x411a4c
xor ecx, ecx
push ebx
call fcn.0045fea0
test eax, eax
jne 0x411a81
inc esi
cmp esi, ebp
jl 0x411a37
mov dword [esp + 0x50], 0x5555a8
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], 2
call fcn.005400f8
mov dword [esp + 0x50], 0x555594
jmp 0x41252c
mov ebp, dword [esp + 0x180]
xor esi, esi
cmp ebp, esi
jne 0x411aae
push 0x3e8
mov ecx, edi
call fcn.0053ff18
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x553da4]
push eax
call fcn.00540008
mov ebp, eax
jmp 0x411ab6
mov dword [esp + 0x68], 1
mov eax, dword [esp + 0x184]
cmp eax, esi
jne 0x411ad0
cmp ebx, dword [edi + 0x78]
jae 0x411ace
mov ecx, dword [edi + 0x74]
mov eax, dword [ecx + ebx*4]
jmp 0x411ad0
xor eax, eax
mov edx, dword [eax]
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], 0x556d28
lea ecx, [esp + 0x70]
mov byte [esp + 0x174], 3
push ecx
call dword [0x5530f8]
push eax
lea ecx, [esp + 0x60]
call fcn.00540104
lea edx, [esp + 0x5c]
mov ecx, ebp
push edx
call fcn.00540272
push 1
mov ecx, ebp
call fcn.00540242
mov dword [esp + 0x80], eax
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x34]
mov ebx, dword [esp + 0x188]
mov dword [esp + 0x84], eax
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x58]
mov ecx, dword [edi + 0x420]
cmp eax, ecx
jae 0x411b64
mov ecx, dword [edi + 0x41c]
mov esi, dword [ecx + eax*4]
jmp 0x411b66
xor esi, esi
mov edx, dword [esp + 0x17c]
mov ecx, esi
push edx
call fcn.0045fea0
test eax, eax
je 0x412485
mov ecx, esi
call fcn.004bcc80
cmp eax, 2
mov dword [esp + 0x48], eax
jge 0x411b9d
mov ecx, esi
call fcn.004faee0
cmp eax, 0xc
jne 0x412485
test ebx, ebx
je 0x411ba9
cmp esi, ebx
jne 0x412485
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xd4]
push 0x3ff00000
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
push ecx
mov ecx, esi
call fcn.0045fcb0
lea edx, [esp + 0x38]
mov ecx, esi
push edx
push 0
call fcn.00460100
mov edx, dword [esi + 0x1b8]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
test edx, edx
mov dword [esp + 0x18], ecx
jle 0x411d71
cmp dword [esp + 0x48], 1
jle 0x411eee
lea eax, [esp + 0x38]
mov ecx, esi
push eax
push 1
mov byte [esp + 0x74], 0
call fcn.00460100
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, esi
mov dword [esp + 0x44], ebx
call fcn.004faee0
cmp eax, 1
jne 0x411ce0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, ebx
sub ecx, edx
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
cmp edx, 0x1a9
jge 0x411ce0
mov edx, dword [esi + 0x15c]
mov eax, dword [esi + 0x158]
push edx
push eax
push 0
call dword [0x5530e8]
mov ebx, eax
test ebx, ebx
je 0x411c9c
mov ecx, dword [ebp + 4]
push ebx
push ecx
call dword [0x5530c4]
mov edi, eax
jmp 0x411c9e
xor edi, edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0xd8]
push eax
push ecx
mov ecx, ebp
call fcn.005401e2
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
push edx
push eax
mov ecx, ebp
call fcn.005401dc
test edi, edi
je 0x411cd7
mov ecx, dword [ebp + 4]
push edi
push ecx
call dword [0x5530c4]
push ebx
call dword [0x5530ec]
jmp 0x411d27
cmp dword [esi + 0x1b8], 2
jne 0x411cee
mov byte [esp + 0x6c], 1
mov edx, dword [esi + 0x158]
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1bc]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esi + 0x15c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
push ebx
push edx
push eax
push ebp
mov ecx, edi
call fcn.004116c0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
cmp edi, edx
mov dword [esp + 0x1c], edi
jl 0x411d3b
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x411d4f
mov dword [esp + 0x20], eax
cmp edi, edx
mov dword [esp + 0x24], edi
jg 0x411d5b
mov dword [esp + 0x24], edx
cmp ecx, eax
jle 0x411d68
mov dword [esp + 0x28], ecx
jmp 0x411f66
mov dword [esp + 0x28], eax
jmp 0x411f66
cmp dword [esp + 0x48], 1
jle 0x411eee
mov edx, dword [esi + 0x158]
mov ebx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x15c]
push ecx
push edx
push 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
call dword [0x5530e8]
test eax, eax
mov dword [esp + 0x4c], eax
je 0x411dbd
push eax
mov eax, dword [ebp + 4]
push eax
call dword [0x5530c4]
mov dword [esp + 0x40], eax
jmp 0x411dc5
mov dword [esp + 0x40], 0
mov ecx, esi
call fcn.004faee0
cmp eax, 0xb
jne 0x411e40
mov edx, dword [ebp]
push 5
mov ecx, ebp
call dword [edx + 0x2c]
mov edi, eax
lea eax, [esp + 0x8c]
push eax
push 0
mov ecx, esi
call fcn.00460100
lea ecx, [esp + 0x94]
push ecx
push 1
mov ecx, esi
call fcn.00460100
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push ecx
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x94]
mov ebx, ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
mov dword [esp + 0x3c], ebx
call dword [0x5530f4]
push edi
mov ecx, ebp
call fcn.005401d0
jmp 0x411ec7
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0xd0]
push eax
push ecx
mov ecx, ebp
call fcn.005401e2
mov eax, dword [esp + 0x48]
mov edi, 1
cmp eax, edi
jle 0x411ec7
lea edx, [esp + 0x38]
mov ecx, esi
push edx
push edi
call fcn.00460100
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp edi, 1
jne 0x411e88
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
cmp ecx, dword [esp + 0x1c]
jge 0x411e94
mov dword [esp + 0x1c], ecx
jmp 0x411e9e
cmp ecx, dword [esp + 0x24]
jle 0x411e9e
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x20]
jge 0x411eaa
mov dword [esp + 0x20], eax
jmp 0x411eb0
cmp eax, ebx
jle 0x411eb0
mov ebx, eax
inc eax
push eax
push ecx
mov ecx, ebp
call fcn.005401dc
mov eax, dword [esp + 0x48]
inc edi
cmp edi, eax
jl 0x411e66
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x411eda
push eax
mov eax, dword [ebp + 4]
push eax
call dword [0x5530c4]
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x5530ec]
mov edi, dword [esp + 0x34]
jmp 0x411f6e
mov ecx, esi
call fcn.004faee0
cmp eax, 0xc
jne 0x411f6a
lea edi, [esi + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
fld qword [0x556d20]
not ecx
dec ecx
cmp ecx, 3
jge 0x411f1c
fstp st(0)
fld qword [0x5566b8]
jmp 0x411f29
cmp ecx, 0xa
jle 0x411f29
fstp st(0)
fld qword [0x556d18]
mov edi, dword [esi + 0x164]
mov ebx, dword [esp + 0x2c]
mov eax, edi
mov edx, dword [esp + 0x18]
imul eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x4c]
mov dword [esp + 0x20], edx
fmul st(1)
call fcn.00540a50
mov ecx, dword [esp + 0x18]
add eax, ebx
fstp st(0)
lea edx, [ecx + edi*2]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x58]
mov ecx, dword [edi + 0x88]
cmp eax, ecx
jne 0x41213d
push 0x60601c
push 1
push 4
call dword [0x5530e8]
mov edi, eax
test edi, edi
je 0x411fa6
mov ecx, dword [ebp + 4]
push edi
push ecx
call dword [0x5530c4]
mov dword [esp + 0x40], eax
jmp 0x411fae
mov dword [esp + 0x40], 0
mov ecx, esi
call fcn.004faee0
dec eax
cmp eax, 0xd
ja case.0x411fc7.2
xor edx, edx
mov dl, byte [eax + 0x412564]
jmp dword [edx*4 + 0x41255c]
mov eax, dword [esi + 0x158]
mov edx, dword [esp + 0x30]
add eax, 6
lea ecx, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call fcn.004b75e0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
add esp, 0x18
lea edx, [esp + 0xdc]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.005401e2
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push eax
push ecx
mov ecx, ebp
call fcn.005401dc
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
push edx
push eax
mov ecx, ebp
call fcn.005401dc
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push ecx
push edx
mov ecx, ebp
call fcn.005401dc
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
push eax
jmp 0x412119
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jge 0x4120a2
mov eax, dword [esp + 0x24]
dec ecx
inc eax
mov dword [esp + 0x24], eax
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jl 0x412088
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov eax, ebx
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jge 0x4120cc
dec ecx
inc ebx
mov eax, ebx
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jl 0x4120b4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0xe8]
push eax
push ecx
mov ecx, ebp
call fcn.005401e2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.005401dc
mov ecx, dword [esp + 0x24]
push ebx
push ecx
mov ecx, ebp
call fcn.005401dc
mov edx, dword [esp + 0x1c]
push ebx
push edx
mov ecx, ebp
call fcn.005401dc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.005401dc
mov eax, dword [esp + 0x40]
test eax, eax
je 0x412136
mov edx, eax
mov eax, dword [ebp + 4]
push edx
push eax
call dword [0x5530c4]
push edi
call dword [0x5530ec]
mov ecx, dword [ebp + 8]
push 0x5a
push ecx
call dword [0x5530f0]
mov edx, dword [esi + 0x164]
mov edi, dword [esi + 0x16c]
push 0x48
push eax
push edx
call dword [0x553134]
lea ecx, [esi + 0x170]
push ecx
push 0x22
push 2
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
neg eax
push 0
push eax
call dword [0x5530e0]
push eax
lea ecx, [esp + 0x54]
call fcn.00540104
mov edx, dword [ebp]
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov edx, dword [ebp]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x168]
mov ecx, ebp
push eax
call dword [edx + 0x38]
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.004faee0
dec eax
cmp eax, 0xf
ja case.0x4121cd.8
xor ecx, ecx
mov cl, byte [eax + 0x412594]
jmp dword [ecx*4 + 0x412574]
mov al, byte [esi + 0x160]
test al, al
je 0x412206
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.004615e0
mov eax, dword [esp + 0x14]
add eax, 0xa
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
sub eax, 0xc
jmp 0x41237b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x30]
cdq
sub eax, edx
mov dword [esp + 0x10], ecx
sar eax, 1
add eax, 0xa
mov dword [esp + 0x14], eax
mov eax, ecx
sub eax, 0xc
jmp 0x41237b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x412243
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jl 0x41224d
mov eax, ebx
add eax, 0xffffffec
jmp 0x41237b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], edx
add eax, ebx
jmp 0x412373
mov al, byte [esi + 0x160]
test al, al
je 0x412288
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.004615e0
jmp 0x41237f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x41237f
mov al, byte [esi + 0x160]
test al, al
je 0x4122be
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.004615e0
mov eax, dword [esp + 0x10]
jmp 0x4122ca
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
sub edi, 4
sub eax, 0xa
cmp edx, ecx
mov dword [esp + 0x14], edi
jge 0x4122ec
sub eax, 0xf
jmp 0x41237b
add eax, 0xf
jmp 0x41237b
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x41237f
add eax, 0xffffffec
jmp 0x41237b
mov al, byte [esi + 0x160]
test al, al
je 0x41232e
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.004615e0
jmp 0x41233e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, 4
sub eax, 0xa
mov dword [esp + 0x14], ecx
jmp 0x41237b
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add eax, edx
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, 4
mov dword [esp + 0x14], eax
lea eax, [ecx + edx]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x14
mov dword [esp + 0x10], eax
push 0xa
mov ecx, esi
call fcn.0045fe10
push eax
call dword [0x553b18]
add esp, 8
test eax, eax
jne 0x4123b7
mov ecx, esi
call fcn.0045fe10
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push ebp
call fcn.00411900
jmp 0x412457
mov dl, byte [0x5d9178]
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xed]
mov byte [esp + 0xec], dl
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0xf0]
push 0x57fd88
push eax
mov ecx, esi
call fcn.0045fe10
push eax
call fcn.004b8260
mov edi, eax
mov al, byte [esp + 0xfc]
add esp, 0x10
test al, al
je 0x412457
mov edx, dword [esi + 0x164]
mov eax, dword [esp + 0x14]
add edx, 5
lea ecx, [esp + 0xec]
imul edx, ebx
push ecx
mov ecx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x38]
add eax, 0xa
push edx
push eax
push ebp
call fcn.00411900
push 0
lea ecx, [esp + 0xf0]
push 0x57fd88
push ecx
push edi
call fcn.004b8260
mov edi, eax
mov al, byte [esp + 0xfc]
add esp, 0x10
inc ebx
test al, al
jne 0x412404
mov eax, dword [esp + 0x4c]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov eax, dword [esp + 0x48]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x38]
lea ecx, [esp + 0x50]
call fcn.005400f8
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x188]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x88]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x411b4b
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, ebp
call fcn.00540242
mov eax, dword [esp + 0x84]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x34]
push 0
mov ecx, ebp
call fcn.00540272
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
and eax, edx
push eax
call dword [0x5530ec]
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4124f0
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x20]
push ecx
push edx
call dword [0x553d40]
mov edi, 0x5555a8
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x174], 4
call fcn.005400f8
mov esi, 0x555594
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], 5
call fcn.005400f8
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x174], 0xffffffff
call fcn.0053feb8
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret 0x10