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

Disassembly:
push 0xffffffffffffffff
push 0x4d9920
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x51b260]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0xb0]
xor ebx, ebx
mov ebp, 0xf
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0xa0], 1
cmp dword [esi + 0x1c], ebx
je 0x470cdc
mov eax, 1
cmp dword [esi + 0x204], eax
jne 0x470c39
cmp dword [esi + 0x524], ebx
je 0x471467
mov ecx, dword [esp + 0xb4]
add dword [esi + 0x304], ecx
mov eax, dword [esi + 0x304]
cmp eax, dword [esi + 0x54c]
jge 0x470c73
cmp dword [esi + 0x524], ebx
jne 0x470c73
cmp dword [esi + 0x8a8], ebx
je 0x471436
mov edi, dword [esp + 0x18]
mov ebp, 0xf
xor ebx, ebx
mov eax, dword [esi + 0x234]
mov ecx, dword [esi + 0x238]
push ebx
push ebx
push eax
push ecx
lea edx, [esi + 0x530]
push edx
mov dword [esi + 0x304], ebx
call dword [sym.imp.user32.dll_SetRect]
cmp byte [edi], 0x53
je 0x470ce3
mov dword [esi + 0x1b8], ebx
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x470cb9
mov eax, dword [esp + 0x60]
push eax
call fcn.0048dd02
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], 0
cmp dword [esp + 0x90], esi
jb 0x470cdc
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0048dd02
add esp, 4
xor eax, eax
jmp 0x471467
mov eax, dword [edi + 0x404]
mov edx, dword [esi + 0x1b8]
dec eax
add edx, 2
cmp eax, edx
mov dword [esp + 0x24], eax
mov dword [esi + 0x80c], ebx
mov dword [esi + 0x810], ebx
jg 0x470dd1
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0x48c]
push eax
push ecx
mov ecx, esi
call fcn.00466800
mov ecx, esi
call fcn.00466940
mov dl, byte [edi + 0x408]
push 0xfffffffffffffffe
lea edi, [esi + 0x1cc]
push 1
mov ecx, edi
mov byte [esi + 0x1b4], dl
call fcn.004017b0
push 0xfffffffffffffffe
push 1
mov ecx, edi
call fcn.004017b0
lea edi, [esi + 0x874]
push edi
lea ecx, [esi + 0x85c]
call fcn.004038b0
mov eax, dword [esi + 0x888]
push eax
push ebx
mov ecx, edi
call fcn.00401550
mov ecx, dword [esi + 0x1bc]
cmp ecx, dword [esi + 0xb4]
jle 0x470d85
mov ecx, esi
call fcn.00432850
mov edx, dword [esi + 0x490]
add edx, dword [esi + 0x1c8]
add edx, dword [esi + 0xcc]
cmp edx, dword [esi + 0x240]
jl 0x470db2
mov eax, dword [esi + 0x238]
mov ecx, esi
mov dword [esi + 0x1c4], eax
call fcn.00432850
mov dword [esi + 0x1b8], ebx
lea ecx, [esp + 0x5c]
call fcn.00401770
lea ecx, [esp + 0x78]
call fcn.00401770
xor eax, eax
jmp 0x471467
mov ebx, dword [esp + 0x18]
movzx ecx, byte [ebx + 0x408]
mov edx, dword [esi + 0x1b8]
mov byte [esi + 0xfd9], cl
lea ebp, [ebx + 1]
movzx ecx, byte [edx + ebp]
lea eax, [edx + ebp]
mov byte [esp + 0x14], cl
movzx edx, byte [eax + 1]
push 0
push 0x4db6d7
lea ecx, [esp + 0x80]
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0
call fcn.00401970
push 0
push 0x4db6d7
lea ecx, [esp + 0x64]
call fcn.00401970
mov al, byte [esi + 0xfd9]
mov dl, byte [esp + 0x14]
mov cl, al
not cl
cmp dl, cl
jne 0x47123f
cmp byte [esp + 0x15], cl
jne 0x47123f
movzx ecx, byte [ebx + 0x408]
xor al, dl
mov byte [esp + 0x3c], al
mov edx, dword [esp + 0x3c]
push edx
mov byte [esi + 0x1b4], cl
lea edi, [esi + 0x1cc]
push 1
mov ecx, edi
call fcn.004017b0
movzx eax, byte [esi + 0xfd9]
xor al, byte [esp + 0x15]
mov byte [esp + 0x50], al
mov ecx, dword [esp + 0x50]
push ecx
push 1
mov ecx, edi
call fcn.004017b0
add dword [esi + 0x1b8], 2
mov eax, dword [esi + 0x1b8]
mov al, byte [eax + ebp]
mov cl, byte [esi + 0xfd9]
movzx ebx, al
xor al, cl
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x34]
movzx edx, cl
push eax
push 1
mov ecx, edi
xor ebx, edx
call fcn.004017b0
inc dword [esi + 0x1b8]
test ebx, ebx
jle 0x470f70
mov dword [esp + 0x1c], ebx
mov edi, edi
mov ecx, dword [esi + 0x1b8]
movzx edx, byte [ecx + ebp]
xor dl, byte [esi + 0xfd9]
lea ecx, [esp + 0x78]
mov byte [esp + 0x4c], dl
mov eax, dword [esp + 0x4c]
push eax
push 1
call fcn.004017b0
mov ecx, dword [esi + 0x1b8]
movzx edx, byte [ecx + ebp + 1]
xor dl, byte [esi + 0xfd9]
lea ecx, [esp + 0x78]
mov byte [esp + 0x28], dl
mov eax, dword [esp + 0x28]
push eax
push 1
call fcn.004017b0
mov ecx, dword [esi + 0x1b8]
movzx edx, byte [ecx + ebp]
xor dl, byte [esi + 0xfd9]
mov ecx, edi
mov byte [esp + 0x54], dl
mov eax, dword [esp + 0x54]
push eax
push 1
call fcn.004017b0
mov ecx, dword [esi + 0x1b8]
movzx edx, byte [ecx + ebp + 1]
xor dl, byte [esi + 0xfd9]
mov ecx, edi
mov byte [esp + 0x44], dl
mov eax, dword [esp + 0x44]
push eax
push 1
call fcn.004017b0
add dword [esi + 0x1b8], 2
sub dword [esp + 0x1c], 1
jne 0x470ed0
mov ecx, dword [esi + 0x1b8]
mov eax, dword [esp + 0x18]
inc eax
mov al, byte [eax + ecx]
mov cl, byte [esi + 0xfd9]
movzx ebp, al
xor al, cl
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x2c]
movzx edx, cl
push eax
push 1
mov ecx, edi
xor ebp, edx
call fcn.004017b0
inc dword [esi + 0x1b8]
test ebp, ebp
jle 0x471070
mov dword [esp + 0x1c], ebp
jmp 0x470fc0
mov ecx, dword [esi + 0x1b8]
mov eax, dword [esp + 0x18]
movzx edx, byte [eax + ecx + 1]
inc eax
mov byte [esp + 0x30], dl
mov eax, dword [esp + 0x30]
push eax
push 1
lea ecx, [esp + 0x64]
call fcn.004017b0
mov ecx, dword [esi + 0x1b8]
mov eax, dword [esp + 0x18]
movzx edx, byte [ecx + eax + 2]
inc eax
mov byte [esp + 0x38], dl
mov eax, dword [esp + 0x38]
push eax
push 1
lea ecx, [esp + 0x64]
call fcn.004017b0
mov ecx, dword [esi + 0x1b8]
mov eax, dword [esp + 0x18]
movzx edx, byte [ecx + eax + 1]
xor dl, byte [esi + 0xfd9]
inc eax
mov byte [esp + 0x40], dl
mov eax, dword [esp + 0x40]
push eax
push 1
mov ecx, edi
call fcn.004017b0
movzx edx, byte [esi + 0xfd9]
mov ecx, dword [esi + 0x1b8]
add dl, byte [esi + 0x850]
mov eax, dword [esp + 0x18]
xor dl, byte [ecx + eax + 2]
inc eax
mov byte [esp + 0x48], dl
mov eax, dword [esp + 0x48]
push eax
push 1
mov ecx, edi
call fcn.004017b0
add dword [esi + 0x1b8], 2
sub dword [esp + 0x1c], 1
jne 0x470fc0
mov ecx, dword [esi + 0x48c]
mov eax, dword [esi + 0xc8]
add eax, ecx
imul eax, ebp
cdq
idiv ebx
mov edx, dword [esi + 0x528]
mov dword [esp + 0x1c], edx
mov dword [esi + 0x528], 1
mov edi, eax
lea eax, [ebp + 1]
imul eax, ecx
add eax, dword [esi + 0x1c4]
cmp eax, dword [esi + 0x23c]
jl 0x471140
mov ecx, dword [esi + 0x1bc]
cmp ecx, dword [esi + 0xb4]
jge 0x4710f1
mov ecx, esi
call fcn.00466940
mov eax, dword [esi + 0x1b8]
lea edx, [eax + 3]
cmp dword [esp + 0x24], edx
jle 0x471491
cmp dword [esi + 0x524], 1
jne 0x471140
add eax, 2
mov dword [esi + 0x1b8], eax
jmp 0x4713fb
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0x48c]
push eax
push ecx
mov ecx, esi
call fcn.00466800
cmp dword [esi + 0x1bc], 0
mov edx, dword [esi + 0x238]
mov dword [esi + 0x1c4], edx
je 0x471140
mov eax, 1
mov dword [esi + 0x204], eax
mov dword [esi + 0x208], eax
mov eax, dword [esi + 0x550]
cmp dword [esi + 0x54c], eax
je 0x471140
mov dword [esi + 0x54c], eax
mov eax, dword [esp + 0x20]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0xa0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00401860
push ebp
push edi
mov ecx, esi
call fcn.00467510
lea ebx, [ebp + ebp]
xor edi, edi
test ebx, ebx
jle 0x471226
cmp edi, dword [esp + 0x70]
jbe 0x471193
call fcn.0049eacd
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4711a2
lea eax, [esp + 0x60]
mov al, byte [eax + edi]
lea ebp, [edi + 1]
mov byte [esp + 0x14], al
cmp ebp, dword [esp + 0x70]
jbe 0x4711b7
call fcn.0049eacd
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4711c6
lea eax, [esp + 0x60]
mov cl, byte [eax + ebp]
mov eax, dword [esp + 0xac]
push 0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1d], cl
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.0046ca50
mov edx, dword [esi + 0x48c]
add edx, dword [esi + 0xc8]
lea eax, [esp + 0x14]
add dword [esi + 0x1c4], edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x471201
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x874]
call fcn.00405b40
add edi, 2
cmp edi, ebx
jl 0x471188
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x528], ecx
mov dword [esi + 0x214], 1
jmp 0x4713fb
cmp dword [esi + 0x1b8], 0
jne 0x471286
cmp dword [esi + 0x20c], 0
je 0x471286
mov edi, dword [esp + 0x20]
push ebp
push edi
mov ecx, esi
call fcn.00466700
test eax, eax
je 0x47128a
mov ecx, dword [esp + 0xb4]
sub dword [esi + 0x304], ecx
lea ecx, [esp + 0x5c]
call fcn.00401770
lea ecx, [esp + 0x78]
call fcn.00401770
jmp 0x471462
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esi + 0x20c], 1
call fcn.00466e10
push edi
push ebp
mov ecx, esi
call fcn.00470a70
test eax, eax
jne 0x4714f8
mov edx, dword [esp + 0xac]
mov al, byte [ebx + 0x408]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
mov ecx, esi
mov byte [esi + 0x1b4], al
call fcn.0046ca50
lea eax, [esp + 0x14]
lea edx, [eax + 1]
jmp 0x4712e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4712e0
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x1cc]
call fcn.00405b40
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x471301
sub eax, edx
push eax
lea ecx, [esp + 0x18]
lea edi, [esi + 0x874]
push ecx
mov ecx, edi
call fcn.00405b40
mov eax, dword [esi + 0x48c]
mov ecx, dword [esi + 0x1c4]
lea edx, [ecx + eax*2]
cmp edx, dword [esi + 0x23c]
mov ebp, 1
mov dword [esi + 0x214], ebp
jl 0x4713cf
push edi
lea ecx, [esi + 0x85c]
call fcn.004038b0
mov eax, dword [esi + 0x888]
push eax
push 0
mov ecx, edi
call fcn.00401550
mov ecx, dword [esi + 0x490]
add ecx, dword [esi + 0x1c8]
add ecx, dword [esi + 0xcc]
cmp ecx, dword [esi + 0x240]
jl 0x47138c
mov edx, dword [esi + 0x238]
mov ecx, esi
mov dword [esi + 0x1c4], edx
call fcn.00432850
mov eax, dword [esi + 0x1bc]
cmp eax, dword [esi + 0xb4]
jge 0x47156d
mov ecx, esi
call fcn.00466940
mov eax, dword [esi + 0x1b8]
lea ecx, [eax + 3]
cmp dword [esp + 0x24], ecx
jle 0x471549
cmp dword [esi + 0x524], ebp
jne 0x471595
add eax, 2
mov dword [esi + 0x1b8], eax
jmp 0x4713fb
mov edx, dword [esi + 0x1b8]
lea edi, [edx + 3]
cmp dword [esp + 0x24], edi
jle 0x4715b5
add edx, 2
mov dword [esi + 0x1b8], edx
mov edx, dword [esi + 0xc8]
add edx, ecx
add edx, eax
mov dword [esi + 0x1c4], edx
cmp dword [esi + 0x528], 0
jne 0x470dd1
cmp dword [esi + 0x524], 0
jne 0x470dd1
cmp dword [esi + 0x54c], 0
je 0x470dd1
cmp dword [esp + 0x74], 0x10
jb 0x471436
mov edx, dword [esp + 0x60]
push edx
call fcn.0048dd02
add esp, 4
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x471462
mov eax, dword [esp + 0x7c]
push eax
call fcn.0048dd02
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0049ef0f
add esp, 0x90
ret 0x14
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0x48c]
push eax
push ecx
mov ecx, esi
call fcn.00466800
xor edi, edi
mov dword [esi + 0x1b8], edi
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x4714c6
mov edx, dword [esp + 0x60]
push edx
call fcn.0048dd02
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
cmp dword [esp + 0x90], esi
jb 0x470cdc
mov eax, dword [esp + 0x7c]
push eax
call fcn.0048dd02
add esp, 4
xor eax, eax
jmp 0x471467
mov edx, dword [esp + 0xb4]
sub dword [esi + 0x304], edx
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x47151d
mov eax, dword [esp + 0x60]
push eax
call fcn.0048dd02
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
cmp dword [esp + 0x90], esi
jb 0x471462
mov ecx, dword [esp + 0x7c]
push ecx
jmp 0x47145a
mov edx, dword [esi + 0x490]
mov eax, dword [esi + 0x48c]
push edx
push eax
mov ecx, esi
call fcn.00466800
mov dword [esi + 0x1b8], 0
jmp 0x470db8
mov ecx, dword [esi + 0x490]
mov edx, dword [esi + 0x48c]
push ecx
push edx
mov ecx, esi
call fcn.00466800
mov eax, dword [esi + 0x238]
mov ecx, esi
mov dword [esi + 0x1c4], eax
call fcn.00432850
add dword [esi + 0x1b8], 2
lea ecx, [esp + 0x5c]
call fcn.00401770
lea ecx, [esp + 0x78]
call fcn.00401770
mov eax, ebp
jmp 0x471467
mov ecx, dword [esi + 0x490]
mov edx, dword [esi + 0x48c]
push ecx
push edx
mov ecx, esi
call fcn.00466800
mov ecx, esi
call fcn.00466940
mov al, byte [ebx + 0x408]
push 0xfffffffffffffffe
lea edi, [esi + 0x1cc]
push ebp
mov ecx, edi
mov byte [esi + 0x1b4], al
call fcn.004017b0
push 0xfffffffffffffffe
push ebp
mov ecx, edi
call fcn.004017b0
lea edi, [esi + 0x874]
push edi
lea ecx, [esi + 0x85c]
call fcn.004038b0
mov ecx, dword [esi + 0x888]
push ecx
push 0
mov ecx, edi
call fcn.00401550
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0xb4]
jle 0x47162e
mov ecx, esi
call fcn.00432850
mov eax, dword [esi + 0x490]
add eax, dword [esi + 0x1c8]
add eax, dword [esi + 0xcc]
cmp eax, dword [esi + 0x240]
jl 0x47165b
mov ecx, dword [esi + 0x238]
mov dword [esi + 0x1c4], ecx
mov ecx, esi
call fcn.00432850
mov dword [esi + 0x1b8], 0
jmp 0x470db8