Function at 0x402ca0
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
sub esp, 0x64
mov eax, dword [0x415eb0]
mov ecx, dword [0x415eb4]
mov dx, word [0x415eb8]
mov dword [esp], eax
cmp byte [esp], 0
mov al, byte [0x415eba]
mov byte [esp + 0xa], al
mov dword [esp + 4], ecx
mov word [esp + 8], dx
lea eax, [esp]
je 0x402ce0
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402cd5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
lea ecx, [esp + 8]
push ecx
call ebx
mov edi, eax
test edi, edi
je 0x403624
mov edx, dword [0x415ebc]
mov al, byte [0x415ec0]
mov byte [esp + 0xc], al
mov dword [esp + 8], edx
lea eax, [esp + 8]
test dl, dl
je 0x402d21
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402d16
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
mov cl, byte [0x415ec8]
xor edx, edx
test eax, eax
setne dl
mov dword [0x419f58], eax
mov eax, dword [0x415ec4]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov byte [esp + 0x14], cl
lea eax, [esp + 0x10]
mov esi, edx
je 0x402d6b
mov ecx, eax
nop
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402d60
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x419f50], eax
test esi, esi
je 0x402d87
test eax, eax
je 0x402d87
mov esi, 1
jmp 0x402d89
xor esi, esi
mov eax, dword [0x415ecc]
mov cx, word [0x415ed0]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov word [esp + 0x14], cx
lea eax, [esp + 0x10]
je 0x402dbb
mov ecx, eax
jmp 0x402db0
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402db0
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x41a14c], eax
test esi, esi
je 0x402dd7
test eax, eax
je 0x402dd7
mov esi, 1
jmp 0x402dd9
xor esi, esi
mov eax, dword [0x415ed4]
mov ecx, dword [0x415ed8]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
je 0x402e0b
mov ecx, eax
lea esp, [esp]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402e00
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x419f64], eax
test esi, esi
je 0x402e27
test eax, eax
je 0x402e27
mov esi, 1
jmp 0x402e29
xor esi, esi
mov eax, dword [0x415edc]
mov cx, word [0x415ee0]
mov dl, byte [0x415ee2]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
lea eax, [esp + 0x10]
je 0x402e60
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402e55
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x41a29c], eax
test esi, esi
je 0x402e7c
test eax, eax
je 0x402e7c
mov esi, 1
jmp 0x402e7e
xor esi, esi
mov ecx, dword [0x415ee4]
mov eax, dword [0x415eec]
mov edx, dword [0x415ee8]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x10], 0
mov cx, word [0x415ef0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov word [esp + 0x1c], cx
lea eax, [esp + 0x10]
je 0x402ebf
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402eb4
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x419f4c], eax
test esi, esi
je 0x402edb
test eax, eax
je 0x402edb
mov esi, 1
jmp 0x402edd
xor esi, esi
mov eax, dword [0x415ee4]
mov ecx, dword [0x415ee8]
mov edx, dword [0x415eec]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov ax, word [0x415ef0]
mov word [esp + 0x1c], ax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
je 0x402f1d
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402f12
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
mov dword [0x419f44], eax
test esi, esi
je 0x402f39
test eax, eax
je 0x402f39
mov esi, 1
jmp 0x402f3b
xor esi, esi
mov edx, dword [0x415ef4]
mov eax, dword [0x415ef8]
mov cx, word [0x415efc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov word [esp + 0x18], cx
lea eax, [esp + 0x10]
test dl, dl
je 0x402f6f
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402f64
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x419f70], eax
test esi, esi
je 0x402f8b
test eax, eax
je 0x402f8b
mov esi, 1
jmp 0x402f8d
xor esi, esi
mov eax, dword [0x415f00]
mov ecx, dword [0x415f04]
mov edx, dword [0x415f08]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
je 0x402fc2
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x402fb7
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x41a18c], eax
test esi, esi
je 0x402fde
test eax, eax
je 0x402fde
mov esi, 1
jmp 0x402fe0
xor esi, esi
mov ecx, dword [0x415c8c]
mov eax, dword [0x415c94]
mov edx, dword [0x415c90]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x10], 0
mov cl, byte [0x415c98]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], cl
lea eax, [esp + 0x10]
je 0x40301f
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403014
lea edx, [esp + 0x10]
push edx
call ebx
mov ecx, dword [0x415cf4]
mov edx, dword [0x415cf8]
mov edi, eax
mov eax, dword [0x415cf0]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
je 0x40305d
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403052
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x41a024], eax
test esi, esi
je 0x403079
test eax, eax
je 0x403079
mov esi, 1
jmp 0x40307b
xor esi, esi
mov ecx, dword [0x415f0c]
mov edx, dword [0x415f10]
mov eax, dword [0x415f14]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x10], 0
mov cx, word [0x415f18]
mov dword [esp + 0x14], edx
mov dl, byte [0x415f1a]
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], cx
mov byte [esp + 0x1e], dl
lea eax, [esp + 0x10]
je 0x4030cb
mov ecx, eax
jmp 0x4030c0
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4030c0
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x419f48], eax
test esi, esi
je 0x4030e7
test eax, eax
je 0x4030e7
mov esi, 1
jmp 0x4030e9
xor esi, esi
mov ecx, dword [0x415f1c]
mov ax, word [0x415f24]
mov edx, dword [0x415f20]
mov word [esp + 0x18], ax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x10]
test cl, cl
je 0x40311d
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403112
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
mov dword [0x41a2ac], eax
test esi, esi
je 0x403139
test eax, eax
je 0x403139
mov esi, 1
jmp 0x40313b
xor esi, esi
mov edx, dword [0x415f28]
mov eax, dword [0x415f2c]
mov ecx, dword [0x415f30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x10]
test dl, dl
je 0x40316d
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403162
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x41a294], eax
test esi, esi
je 0x403189
test eax, eax
je 0x403189
mov esi, 1
jmp 0x40318b
xor esi, esi
mov eax, dword [0x415f34]
mov ecx, dword [0x415f38]
mov edx, dword [0x415f3c]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov eax, dword [0x415f40]
mov dword [esp + 0x14], ecx
mov cx, word [0x415f44]
mov dword [esp + 0x18], edx
mov dl, byte [0x415f46]
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], cx
mov byte [esp + 0x22], dl
lea eax, [esp + 0x10]
je 0x4031df
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4031d4
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x41a134], eax
test esi, esi
je 0x4031fb
test eax, eax
je 0x4031fb
mov esi, 1
jmp 0x4031fd
xor esi, esi
mov ecx, dword [0x415f48]
mov eax, dword [0x415f50]
mov edx, dword [0x415f4c]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x10], 0
mov cl, byte [0x415f54]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], cl
lea eax, [esp + 0x10]
je 0x40323c
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403231
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x419ff4], eax
test esi, esi
je 0x403258
test eax, eax
je 0x403258
mov esi, 1
jmp 0x40325a
xor esi, esi
mov eax, dword [0x415ce0]
mov ecx, dword [0x415ce4]
mov edx, dword [0x415ce8]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov al, byte [0x415cec]
mov byte [esp + 0x1c], al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
je 0x40329b
mov ecx, eax
lea ecx, [ecx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403290
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
mov dword [0x41a148], eax
test esi, esi
je 0x4032b7
test eax, eax
je 0x4032b7
mov esi, 1
jmp 0x4032b9
xor esi, esi
mov edx, dword [0x415cd4]
mov eax, dword [0x415cd8]
mov ecx, dword [0x415cdc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x10]
test dl, dl
je 0x4032eb
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4032e0
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x419f68], eax
test esi, esi
je 0x403307
test eax, eax
je 0x403307
mov esi, 1
jmp 0x403309
xor esi, esi
mov eax, dword [0x415cfc]
mov ecx, dword [0x415d00]
mov dl, byte [0x415d04]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], dl
lea eax, [esp + 0x10]
je 0x40333e
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403333
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x41a020], eax
test esi, esi
je 0x40335a
test eax, eax
je 0x40335a
mov esi, 1
jmp 0x40335c
xor esi, esi
mov ecx, dword [0x415d84]
mov edx, dword [0x415d88]
mov eax, dword [0x415d8c]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x10], 0
mov ecx, dword [0x415d90]
mov dword [esp + 0x14], edx
mov dl, byte [0x415d94]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], dl
lea eax, [esp + 0x10]
je 0x4033ab
mov ecx, eax
lea ebx, [ebx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4033a0
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x419fe8], eax
test esi, esi
je 0x4033c7
test eax, eax
je 0x4033c7
mov esi, 1
jmp 0x4033c9
xor esi, esi
mov ecx, dword [0x415f58]
mov eax, dword [0x415f60]
mov edx, dword [0x415f5c]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x10], 0
mov cl, byte [0x415f64]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], cl
lea eax, [esp + 0x10]
je 0x40340b
mov ecx, eax
lea ecx, [ecx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403400
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x41a160], eax
test esi, esi
je 0x403427
test eax, eax
je 0x403427
mov esi, 1
jmp 0x403429
xor esi, esi
mov eax, dword [0x415f68]
mov ecx, dword [0x415f6c]
mov edx, dword [0x415f70]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov eax, dword [0x415f74]
mov dword [esp + 0x14], ecx
mov cl, byte [0x415f78]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x20], cl
lea eax, [esp + 0x10]
je 0x403471
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403466
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x419fec], eax
test esi, esi
je 0x40348d
test eax, eax
je 0x40348d
mov esi, 1
jmp 0x40348f
xor esi, esi
mov eax, dword [0x415f7c]
mov ecx, dword [0x415f80]
mov edx, dword [0x415f84]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov eax, dword [0x415f88]
mov dword [esp + 0x14], ecx
mov cx, word [0x415f8c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov word [esp + 0x20], cx
lea eax, [esp + 0x10]
je 0x4034db
mov ecx, eax
mov edi, edi
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4034d0
lea edx, [esp + 0x10]
push edx
push edi
call ebp
mov dword [0x41a164], eax
test esi, esi
je 0x4034f7
test eax, eax
je 0x4034f7
mov esi, 1
jmp 0x4034f9
xor esi, esi
mov eax, dword [0x415f90]
mov ecx, dword [0x415f94]
mov edx, dword [0x415f98]
mov dword [esp + 0x10], eax
cmp byte [esp + 0x10], 0
mov al, byte [0x415f9c]
mov byte [esp + 0x1c], al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
je 0x40353b
mov ecx, eax
lea esp, [esp]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403530
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
mov dword [0x41a128], eax
test esi, esi
je 0x403557
test eax, eax
je 0x403557
mov esi, 1
jmp 0x403559
xor esi, esi
mov edx, dword [0x415fa0]
mov eax, dword [0x415fa4]
mov ecx, dword [0x415fa8]
mov dword [esp + 0x10], edx
cmp byte [esp + 0x10], 0
mov dx, word [0x415fac]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x1c], dx
lea eax, [esp + 0x10]
je 0x40359b
mov ecx, eax
nop
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x403590
lea eax, [esp + 0x10]
push eax
push edi
call ebp
mov dword [0x41a01c], eax
test esi, esi
je 0x4035b7
test eax, eax
je 0x4035b7
mov esi, 1
jmp 0x4035b9
xor esi, esi
mov ecx, dword [0x415fb0]
mov edx, dword [0x415fb4]
mov eax, dword [0x415fb8]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x10], 0
mov ecx, dword [0x415fbc]
mov dword [esp + 0x14], edx
mov edx, dword [0x415fc0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea eax, [esp + 0x10]
je 0x403602
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4035f7
lea eax, [esp + 0x10]
push eax
push edi
call ebp
test esi, esi
pop esi
mov dword [0x41a150], eax
pop ebp
je 0x403624
test eax, eax
je 0x403624
pop edi
mov eax, 1
pop ebx
add esp, 0x64
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x64
ret