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

Disassembly:
sub esp, 0x4c0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x8c]
mov edi, 0x1306c09
push eax
mov dword [esp + 0x84], 0x12bb316
mov dword [esp + 0x88], 0x12c2851
mov dword [esp + 0x8c], edi
mov word [esp + 0x30], 0x361c
mov word [esp + 0x32], 0xfde9
mov word [esp + 0x34], 0x6918
mov word [esp + 0x36], 0xc1d5
mov word [esp + 0x38], 0xf4ef
mov word [esp + 0x3a], 0xabdd
mov word [esp + 0x3c], 0x408f
mov word [esp + 0x3e], 0x8624
mov word [esp + 0x40], 0x3baf
mov word [esp + 0x42], 0x926
mov word [esp + 0x44], 0x910c
mov word [esp + 0x46], 0x3c98
mov word [esp + 0x48], 0x1726
mov word [esp + 0x4a], 0xa044
mov word [esp + 0x4c], 0x378
mov word [esp + 0x4e], 0xdd64
mov word [esp + 0x50], 0xf7dd
mov word [esp + 0x52], 0x55d1
mov word [esp + 0x54], 0xd07f
mov word [esp + 0x56], 0x91ac
mov word [esp + 0x58], 0x9d3f
mov word [esp + 0x5a], 0xb4b6
mov word [esp + 0x5c], 0x9f2
mov word [esp + 0x5e], 0x135c
mov word [esp + 0x60], 0xd810
mov word [esp + 0x62], 0x71fd
mov word [esp + 0x64], 0x8762
mov word [esp + 0x66], 0x364a
mov word [esp + 0x68], 0x1500
mov word [esp + 0x6a], 0xf690
mov word [esp + 0x6c], 0xc376
mov word [esp + 0x6e], 0x9b0d
mov word [esp + 0x70], 0x12bb
mov word [esp + 0x72], 0x3559
mov word [esp + 0x74], 0x3473
mov word [esp + 0x76], 0xd867
mov word [esp + 0x78], 0xc150
mov word [esp + 0x7a], 0xe4e9
mov word [esp + 0x7c], 0x6fa8
mov word [esp + 0x7e], 0xc919
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov al, byte [esp + 0x4d4]
mov ebx, dword [esp + 0x4d8]
test al, al
je 0x421ace
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebx
push 4
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421ac7
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
mov eax, 2
jmp 0x421ad3
mov eax, 1
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x34]
lea edx, [esp + 0x3c]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x34], 0x80ef
mov dword [esp + 0x3c], 0x43b3
mov dword [esp + 0x48], 0x8038
mov dword [esp + 0x40], 0x437c
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421b35
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
mov ecx, dword [esp + 0x4dc]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xd0]
mov dword [ecx], eax
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push ebx
push 3
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421b85
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
xor esi, esi
push ebx
push 0xa
mov dword [esp + 0x4c], esi
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421bce
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
cmp dword [esp + 0x28], edi
jne 0x421f73
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xd0]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xd0]
lea eax, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebx
push 5
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], 1
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421c37
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
lea edi, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xa0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x80]
mov byte [esp + 0xa1], 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strtol]
mov ebp, eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xdc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
push ebx
push 5
mov dword [esp + 0x40], 1
mov dword [esp + 0x48], ebp
call fcn.00427660
add esp, 0x30
test ax, ax
je 0x421ce3
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
lea edi, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], 0x12bb316
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xd0]
push ecx
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebx
push 8
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421d59
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
xor ecx, ecx
test bp, bp
jbe 0x421d8d
mov al, byte [esp + 0x1c]
mov cl, byte [esp + 0x24]
mov dl, byte [esp + 0x18]
add al, cl
mov cl, byte [esp + 0x10]
add al, dl
add al, cl
mov ecx, ebp
and ecx, 0xffff
lea edx, [esp + 0x9c]
mov esi, ecx
xor byte [edx], al
inc edx
dec esi
jne 0x421d87
lea edx, [esp + 0x7c]
and ecx, 0xffff
push 0x10
lea eax, [esp + 0xa0]
push edx
push eax
mov byte [esp + ecx + 0xa8], 0
call dword [sym.imp.MSVCRT.dll_strtoul]
mov ecx, dword [esp + 0x4e8]
add esp, 0xc
mov dword [esp + 0x28], eax
cmp eax, dword [ecx]
jne 0x421f73
mov byte [esp + 0x17], 2
xor edi, edi
mov esi, edi
lea eax, [esp + 0xd0]
and esi, 0xffff
lea ecx, [esp + 0x1c]
push eax
push ecx
mov edx, dword [esp + esi*4 + 0x88]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
push ebx
push 8
call fcn.00427660
add esp, 0x24
test ax, ax
jne 0x421aba
mov cx, word [esp + 0x10]
cmp cx, word [esp + esi*8 + 0x2c]
jne 0x421f73
mov dx, word [esp + 0x18]
cmp dx, word [esp + esi*8 + 0x2e]
jne 0x421f73
mov ax, word [esp + 0x24]
cmp ax, word [esp + esi*8 + 0x30]
jne 0x421f73
mov cx, word [esp + 0x1c]
cmp cx, word [esp + esi*8 + 0x32]
jne 0x421f73
mov dl, byte [esp + 0x17]
inc dl
inc edi
cmp di, 3
mov byte [esp + 0x17], dl
jb 0x421dcd
mov edx, dword [esp + 0x90]
lea eax, [esp + 0xd0]
and edx, 0xffff
lea ecx, [esp + 0x1c]
add edx, 0x1306c0a
push eax
mov dword [esp + 0x24], edx
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
push ebx
push 8
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421ec9
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xd0]
and ecx, 0xffff
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push ebx
push 8
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x421f1a
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret
mov eax, dword [esp + 0x90]
mov cx, word [esp + 0x10]
and eax, 0xffff
shl eax, 3
cmp cx, word [esp + eax + 0x44]
jne 0x421f73
mov dx, word [esp + 0x18]
cmp dx, word [esp + eax + 0x46]
jne 0x421f73
mov cx, word [esp + 0x24]
cmp cx, word [esp + eax + 0x48]
jne 0x421f73
mov dx, word [esp + 0x1c]
cmp dx, word [esp + eax + 0x4a]
jne 0x421f73
mov al, byte [esp + 0x17]
pop edi
inc al
pop esi
movsx eax, al
sub eax, 6
pop ebp
sete al
pop ebx
add esp, 0x4c0
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c0
ret