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

Disassembly:
sub esp, 0x290
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
mov dword [0x550c90], ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [esp + 0x2ac]
mov ebx, dword [esp + 0x2cc]
cmp esi, ebp
mov dword [0x5de0a4], ebp
je 0x42451a
test bl, 1
je 0x42451a
mov al, byte [esp + 0x2c4]
mov cl, byte [esp + 0x2b0]
shr al, 3
and al, 4
and cl, 4
xor al, cl
je 0x42451a
cmp byte [0x59ad5c], 0x66
je 0x42451a
cmp dword [0x58d26c], ebp
jne 0x42451a
cmp bl, 0x55
jne 0x42451a
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xa0]
mov dword [esp + 0x10], 0xa05b7dc
mov dword [esp + 0x14], 0x4f12b1fd
mov dword [esp + 0x18], 0x5e13b6ef
mov dword [esp + 0x1c], 0x4e05aded
mov dword [esp + 0x20], 0x5805a9a8
mov dword [esp + 0x24], 0x440fb6fb
mov dword [esp + 0x28], 0x4401bca8
mov dword [esp + 0x2c], 0x460eb0a8
mov dword [esp + 0x30], 0x5803fff1
mov dword [esp + 0x34], 0x4f14beed
mov dword [esp + 0x38], 0xa12b0a8
mov dword [esp + 0x3c], 0x5e09bbed
mov dword [esp + 0x40], 0x4f08aba8
mov dword [esp + 0x44], 0x4609b9a8
mov dword [esp + 0x48], 0x4217ffed
mov dword [esp + 0x4c], 0xa08bce1
mov dword [esp + 0x50], 0x5905b0ec
mov dword [esp + 0x54], 0x5e0fb1a8
mov dword [esp + 0x58], 0x4918baa8
mov dword [esp + 0x5c], 0xa04baed
mov dword [esp + 0x60], 0xa05b7fc
mov dword [esp + 0x64], 0x4f1ab6fb
mov dword [esp + 0x68], 0xa06b0a8
mov dword [esp + 0x6c], 0x6750efbb
mov dword [esp + 0x70], 0x4534ffa6
mov dword [esp + 0x74], 0x4705ada8
mov dword [esp + 0x78], 0xa05a9e7
mov dword [esp + 0x7c], 0x5909b7fc
mov dword [esp + 0x80], 0x4709b3a8
mov dword [esp + 0x84], 0x5e01abe1
mov dword [esp + 0x88], 0x60eb0e1
mov dword [esp + 0x8c], 0x4f0cafa8
mov dword [esp + 0x90], 0xa05ace9
mov dword [esp + 0x94], 0x4307bafa
mov dword [esp + 0x98], 0x5805abfb
mov dword [esp + 0x9c], 0x2a60dfa6
rep stosd dword es:[edi], eax
mov edx, dword [esp + eax + 0x10]
add eax, 4
xor edx, 0x2a60df88
cmp eax, 0x90
mov dword [esp + eax + 0x9c], edx
jl 0x4244b6
mov eax, dword [0x548c7c]
push 0x40000
push ebp
push eax
lea ecx, [esp + 0xac]
push 0xffffffffffffffff
push ecx
call fcn.00420f90
mov edx, dword [0x548c7c]
push 0x10
push edx
call fcn.00486e20
push ebp
push ebp
push str.Status
call fcn.00488970
or eax, 0x80000000
push ebp
push eax
push str.Status
call fcn.00488b80
add esp, 0x34
mov edi, dword [esp + 0x2c8]
mov eax, dword [esp + 0x2c4]
mov ebp, dword [esp + 0x2c0]
mov ecx, dword [esp + 0x2b8]
mov edx, dword [esp + 0x2b4]
push ebx
mov ebx, dword [esp + 0x2c0]
push edi
push eax
mov eax, dword [esp + 0x2bc]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x2c0]
push edx
push eax
push esi
mov esi, dword [esp + 0x2c8]
push ecx
push 0x10
push esi
call fcn.00423f70
add esp, 0x30
test eax, eax
jne 0x424ae7
mov eax, dword [0x5de0a4]
test eax, eax
jne 0x424ae7
lea edx, [esi + 0xec]
push 0
push edx
push esi
call fcn.00412740
mov eax, dword [str.CD_XA001]
mov edx, dword [esp + 0x2d8]
mov dword [esi + 0x4ec], eax
mov ecx, dword [0x511dec]
mov eax, dword [esp + 0x2d0]
push edx
mov edx, dword [esp + 0x2c4]
push edi
mov dword [esi + 0x4f0], ecx
mov ecx, dword [esp + 0x2cc]
push eax
mov eax, dword [esp + 0x2c8]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x2d0]
push edx
mov edx, dword [esp + 0x2d0]
push eax
push ecx
push edx
push esi
call fcn.00422340
mov eax, dword [0x5de0a4]
add esp, 0x38
test eax, eax
jne 0x424ae7
mov eax, dword [esi + 0x386c]
test eax, eax
je 0x424655
mov eax, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2b8]
push eax
mov eax, dword [esp + 0x2b8]
push edi
push ecx
mov ecx, dword [esp + 0x2bc]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x2c4]
push eax
mov eax, dword [esp + 0x2c4]
push ecx
push edx
push eax
push esi
call fcn.0041b120
mov eax, dword [0x5de0a4]
add esp, 0x2c
test eax, eax
jne 0x424ae7
mov ecx, dword [esp + 0x2cc]
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2b8]
push ecx
mov ecx, dword [esp + 0x2b8]
push edi
push edx
mov edx, dword [esp + 0x2bc]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x2c4]
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
push eax
push ecx
push esi
call fcn.00422610
mov eax, dword [0x5de0a4]
add esp, 0x2c
test eax, eax
jne 0x424ae7
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x42477a
mov edx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2b8]
push edx
mov edx, dword [esp + 0x2b8]
push edi
push eax
mov eax, dword [esp + 0x2bc]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
mov edx, dword [esp + 0x2c4]
push eax
push ecx
push edx
push esi
call fcn.00424110
add esp, 0x2c
test eax, eax
jne 0x424ae7
mov eax, dword [0x550c90]
mov ecx, dword [esi + 0xe8]
cmp eax, ecx
jae 0x42477a
mov ecx, dword [esp + 0x2cc]
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2b8]
push ecx
mov ecx, dword [esp + 0x2b8]
push edi
push edx
mov edx, dword [esp + 0x2bc]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x2c4]
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
push eax
push ecx
push 1
push esi
call fcn.00423f70
add esp, 0x30
test eax, eax
jne 0x424ae7
mov eax, dword [0x5de0a4]
test eax, eax
jne 0x424ae7
mov edx, dword [0x550c90]
mov eax, dword [esi + 0xe8]
cmp edx, eax
jb 0x42470f
mov eax, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2b8]
push eax
mov eax, dword [esp + 0x2b8]
push edi
push ecx
mov ecx, dword [esp + 0x2bc]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x2c4]
push eax
mov eax, dword [esp + 0x2c4]
push ecx
mov ecx, dword [esi + 0x11f8]
push edx
push eax
push ecx
push esi
call fcn.00422240
mov eax, dword [0x5de0a4]
add esp, 0x30
test eax, eax
jne 0x424ae7
mov eax, dword [esi + 0x386c]
test eax, eax
je 0x424834
mov edx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2b8]
push edx
mov edx, dword [esp + 0x2b8]
push edi
push eax
mov eax, dword [esp + 0x2bc]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
mov edx, dword [esp + 0x2c4]
push eax
mov eax, dword [esi + 0x11f8]
push ecx
push edx
push eax
push esi
call fcn.0041ae60
mov eax, dword [0x5de0a4]
add esp, 0x30
test eax, eax
jne 0x424ae7
mov ecx, dword [esp + 0x2cc]
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2b8]
push ecx
mov ecx, dword [esp + 0x2b8]
push edi
push edx
mov edx, dword [esp + 0x2bc]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x2c4]
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
push eax
push ecx
push esi
call fcn.00422a10
mov eax, dword [0x5de0a4]
add esp, 0x2c
test eax, eax
jne 0x424ae7
mov eax, dword [esi + 0x386c]
test eax, eax
je 0x4248e0
mov edx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2b8]
push edx
mov edx, dword [esp + 0x2b8]
push edi
push eax
mov eax, dword [esp + 0x2bc]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
mov edx, dword [esp + 0x2c4]
push eax
push ecx
push edx
push esi
call fcn.0041af70
mov eax, dword [0x5de0a4]
add esp, 0x2c
test eax, eax
jne 0x424ae7
mov eax, dword [esi + 0xe4]
test eax, eax
jne 0x424936
mov eax, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2b8]
push eax
mov eax, dword [esp + 0x2b8]
push edi
push ecx
mov ecx, dword [esp + 0x2bc]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x2c4]
push eax
mov eax, dword [esp + 0x2c4]
push ecx
push edx
push eax
push esi
call fcn.00424110
add esp, 0x2c
test eax, eax
jne 0x424ae7
mov eax, dword [0x550c90]
mov ecx, dword [0x5362bc]
cmp eax, ecx
mov dword [0x548c60], 0
jae 0x4249b9
mov ecx, dword [esp + 0x2cc]
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2b8]
push ecx
mov ecx, dword [esp + 0x2b8]
push edi
push edx
mov edx, dword [esp + 0x2bc]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x2c4]
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
push eax
push ecx
push 1
push esi
call fcn.00423f70
add esp, 0x30
test eax, eax
jne 0x424ae7
mov eax, dword [0x5de0a4]
test eax, eax
jne 0x424ae7
mov eax, dword [0x550c90]
mov ecx, dword [0x5362bc]
cmp eax, ecx
jb 0x42494f
jne 0x424ae7
mov edx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2b8]
push edx
mov edx, dword [esp + 0x2b8]
push edi
push eax
mov eax, dword [esp + 0x2bc]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x2c4]
push edx
mov edx, dword [esp + 0x2c4]
push eax
mov eax, dword [esi + 0x11f8]
push ecx
push edx
push eax
push esi
call fcn.0041e800
mov ecx, dword [esp + 0x2fc]
mov edx, dword [esp + 0x2f4]
mov eax, dword [esp + 0x2e8]
push ecx
mov ecx, dword [esp + 0x2e8]
push edi
push edx
mov edx, dword [esp + 0x2ec]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x2f4]
push ecx
mov ecx, dword [esp + 0x2f4]
push edx
mov edx, dword [esi + 0x11f8]
push eax
push ecx
push edx
push esi
call fcn.004218f0
mov eax, dword [0x5de0a4]
add esp, 0x60
test eax, eax
jne 0x424ae7
mov eax, dword [0x550c90]
mov ecx, dword [esi + 0x3834]
cmp eax, ecx
jae 0x424ad0
mov eax, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2b8]
push eax
mov eax, dword [esp + 0x2b8]
push edi
push ecx
mov ecx, dword [esp + 0x2bc]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x2c4]
push eax
mov eax, dword [esp + 0x2c4]
push ecx
push edx
push eax
push 1
push esi
call fcn.00423f70
add esp, 0x30
test eax, eax
jne 0x424ae7
mov eax, dword [0x5de0a4]
test eax, eax
jne 0x424ae7
mov eax, dword [0x550c90]
mov ecx, dword [esi + 0x3834]
cmp eax, ecx
jb 0x424a6e
mov edx, dword [esi + 0x3834]
pop edi
sub eax, edx
pop esi
neg eax
pop ebp
pop ebx
sbb eax, eax
add esp, 0x290
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x290
ret