Function at 0x42d8d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4bc
mov eax, dword [0x475008]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
cmp dword [esi + 0x14], 0
je 0x42d911
mov eax, 0x40000
jmp 0x42df96
cmp byte [esi + 0x2c], 0
je 0x42d921
mov eax, 0x50000
jmp 0x42df96
xor eax, eax
push 0xc
mov dword [esp + 0x20], eax
pop ecx
cmp dword [esi], eax
je 0x42d938
cmp ebx, 4
cmovne eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x3b8]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x42d944
mov al, byte [esp + 0x3b8]
test al, al
je 0x42df91
lea ecx, [esp + 0x3b8]
cmp al, 0x5c
jne 0x42d96b
mov byte [ecx], 0x2f
inc ecx
mov al, byte [ecx]
test al, al
jne 0x42d964
push 8
pop eax
cmp ebx, 4
jne 0x42d9a1
lea ecx, [esp + 0x3b8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d984
sub ecx, edx
cmp byte [esp + ecx + 0x3b7], 0x2f
je 0x42d99e
mov byte [esp + 0x13], 1
jmp 0x42d9c4
push 8
pop eax
mov dword [esp + 0x14], eax
xor eax, eax
mov byte [esp + 0x13], al
cmp ebx, 4
je 0x42d9c6
lea ecx, [esp + 0x3b8]
mov byte [esp + 0x13], al
call fcn.0042ce40
test al, al
je 0x42d9cc
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x42d9ce
xor eax, eax
cmp ebx, 2
jne 0x42da46
mov dword [esi + 0x7c], eax
mov dword [esi + 0x84], eax
mov byte [esi + 0x80], al
mov dword [esi + 0x78], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x74], eax
test edi, edi
jne 0x42d9ff
mov edi, 0x10000
jmp 0x42da80
push eax
push eax
push 3
push eax
push 7
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x42da1f
mov edi, 0x200
jmp 0x42da80
push 0
push eax
mov ecx, esi
call fcn.0042d408
mov edi, eax
test edi, edi
je 0x42da3b
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42da80
mov byte [esi + 0x80], 1
xor edi, edi
jmp 0x42da7c
cmp ebx, 1
jne 0x42da58
push dword [ebp + 0x10]
mov ecx, esi
push edi
call fcn.0042d408
jmp 0x42da7a
cmp ebx, 3
jne 0x42da6a
push dword [ebp + 0x10]
mov ecx, esi
push edi
call fcn.0042d53c
jmp 0x42da7a
cmp ebx, 4
jne 0x42df91
mov ecx, esi
call fcn.0042d61d
mov edi, eax
test edi, edi
je 0x42da87
mov eax, edi
jmp 0x42df96
and dword [esp + 0x384], 0
xor ecx, ecx
mov byte [esp + 0x60], 0
mov al, byte [esp + ecx + 0x3b8]
mov byte [esp + ecx + 0x170], al
inc ecx
test al, al
jne 0x42da96
lea ecx, [esp + 0x170]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42dab3
sub ecx, edx
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x13], al
je 0x42dae3
lea edi, [esp + 0x170]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42dace
mov ax, word [0x46fd7c]
mov word [edi], ax
inc dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x378], 1
mov word [esp + 0x52], ax
xor ecx, ecx
mov eax, 0xb17
mov byte [esp + 0x274], cl
push 0x14
mov word [esp + 0x2c], ax
pop eax
mov word [esp + 0x2a], ax
mov eax, dword [esi + 0x68]
push 8
mov dword [esp + 0x34], eax
pop eax
push 9
mov dword [esp + 0x170], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x384], ecx
mov dword [esp + 0x38], ecx
mov word [esp + 0x30], ax
pop edi
cmp dword [esi], ecx
je 0x42db48
cmp ebx, 4
je 0x42db48
mov eax, edi
mov word [esp + 0x2c], ax
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov word [esp + 0x54], ax
movzx eax, cx
lea ecx, [esi + 0x70]
mov edx, eax
mov word [esp + 0x2e], ax
mov dword [esp + 0x18], edx
jne 0x42db7c
mov edx, dword [ecx]
mov dword [esp + 0x20], ecx
test edx, edx
js 0x42db7c
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x38], eax
jmp 0x42db85
and dword [esp + 0x38], 0
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
xor eax, eax
mov ebx, dword [esi + 0x58]
mov ecx, ebx
mov edx, dword [esi + 0x5c]
mov word [esp + 0x50], ax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
add eax, dword [esi + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x38c]
mov dword [esp + 0x164], eax
lea eax, [esp + 0x3ac]
mov dword [esp + 0x168], eax
mov al, byte [esi + 0x58]
mov byte [esp + 0x391], al
mov eax, edx
shrd ecx, eax, 8
mov eax, edx
mov dword [esp + 0x48], edi
mov byte [esp + 0x392], cl
lea edi, [esp + 0x3ac]
mov ecx, ebx
mov dword [esp + 0x38c], 0xd5455
shrd ecx, eax, 0x10
mov al, byte [esi + 0x50]
mov byte [esp + 0x393], cl
shrd ebx, edx, 0x18
mov edx, dword [esi + 0x54]
mov byte [esp + 0x395], al
mov eax, edx
mov byte [esp + 0x394], bl
mov ebx, dword [esi + 0x50]
mov ecx, ebx
shrd ecx, eax, 8
mov eax, edx
mov byte [esp + 0x390], 7
mov byte [esp + 0x396], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov al, byte [esi + 0x60]
shrd ebx, edx, 0x18
mov edx, dword [esi + 0x64]
mov byte [esp + 0x397], cl
mov byte [esp + 0x398], bl
mov ebx, dword [esi + 0x60]
mov ecx, ebx
mov byte [esp + 0x399], al
lea esi, [esp + 0x38c]
mov eax, edx
mov dword [esp + 0x44], 0x11
shrd ecx, eax, 8
mov eax, edx
mov byte [esp + 0x39a], cl
mov ecx, ebx
shrd ecx, eax, 0x10
shrd ebx, edx, 0x18
mov byte [esp + 0x39b], cl
lea ecx, [esp + 0x28]
mov byte [esp + 0x39c], bl
mov ebx, dword [esp + 0x24]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x3b2], 5
call fcn.0042c418
pop ecx
test eax, eax
je 0x42dcc6
mov ecx, ebx
call fcn.0042d784
mov eax, 0x400
jmp 0x42df96
mov eax, dword [esp + 0x44]
add eax, 0x1e
add eax, dword [esp + 0x40]
add dword [ebx + 0x18], eax
cmp dword [ebx + 0x14], 0
je 0x42dce9
mov ecx, ebx
call fcn.0042d784
mov eax, dword [ebx + 0x14]
jmp 0x42df96
lea edi, [ebx + 0x30]
mov dword [ebx + 0x34], 0x23456789
mov dword [edi], 0x12345678
mov dword [ebx + 0x38], 0x34567890
mov esi, dword [ebx]
test esi, esi
je 0x42dd18
mov dl, byte [esi]
test dl, dl
je 0x42dd18
mov ecx, edi
call fcn.0042cddc
add esi, 1
jne 0x42dd06
cmp byte [0x47678e], 0
jne 0x42dd38
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call fcn.00451c13
pop ecx
xor esi, esi
call fcn.00451bf2
sar eax, 7
mov byte [esp + esi + 0x3a0], al
inc esi
cmp esi, 0xc
jl 0x42dd3a
mov eax, dword [esp + 0x30]
shr eax, 8
xor esi, esi
mov byte [esp + 0x3ab], al
mov dl, byte [esp + esi + 0x3a0]
mov ecx, edi
call fcn.0042ce1f
mov byte [esp + esi + 0x3a0], al
inc esi
cmp esi, 0xc
jl 0x42dd5f
cmp dword [ebx], 0
je 0x42dd9a
cmp dword [ebp + 0x14], 4
je 0x42dd9a
push 0xc
lea eax, [esp + 0x3a4]
mov ecx, ebx
push eax
call fcn.0042d27e
add dword [ebx + 0x18], 0xc
xor esi, esi
cmp dword [ebx], esi
je 0x42ddab
cmp dword [ebp + 0x14], 4
je 0x42ddab
xor eax, eax
inc eax
jmp 0x42ddad
xor al, al
cmp dword [ebp + 0x14], 4
mov edi, dword [esp + 0x14]
mov byte [ebx + 0x2d], al
je 0x42de25
push 8
pop eax
cmp edi, eax
jne 0x42ddd1
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.0042d7c8
mov esi, eax
jmp 0x42de2b
test edi, edi
jne 0x42de2b
and dword [esp + 0x14], esi
jmp 0x42ddf7
cmp esi, 0xffffffff
je 0x42de10
push esi
lea eax, [ebx + 0x94]
mov ecx, ebx
push eax
call fcn.0042d27e
cmp eax, esi
jne 0x42de1e
add dword [esp + 0x14], esi
push 0x4000
lea eax, [ebx + 0x94]
mov ecx, ebx
push eax
call fcn.0042d6eb
mov esi, eax
test esi, esi
jne 0x42dddb
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [ebx + 0x90], eax
jmp 0x42de2b
mov esi, 0x60000
jmp 0x42de2b
and dword [ebx + 0x90], esi
mov ecx, ebx
mov byte [ebx + 0x2d], 0
call fcn.0042d784
mov ecx, dword [ebx + 0x90]
add dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x42df96
test esi, esi
jne 0x42dcbc
add ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x78]
cmp dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
sete dl
cmp byte [ebx + 0x1c], 0
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
je 0x42dee4
cmp dword [ebx], esi
je 0x42de82
cmp dword [ebp + 0x14], 4
jne 0x42dee4
mov eax, dword [esp + 0x18]
mov word [esp + 0x2e], ax
mov ax, word [esp + 0x2c]
test al, 1
jne 0x42dea1
mov ecx, 0xfff7
and ax, cx
mov word [esp + 0x2c], ax
mov word [esp + 0x54], ax
mov ecx, ebx
mov eax, dword [esp + 0x5c]
sub eax, dword [ebx + 0x10]
push eax
call fcn.0042d34d
test al, al
je 0x42deda
push ebx
lea ecx, [esp + 0x2c]
call fcn.0042c418
pop ecx
test eax, eax
jne 0x42dcbc
push dword [ebx + 0x18]
mov ecx, ebx
call fcn.0042d34d
test al, al
jne 0x42df20
mov eax, 0x2000000
jmp 0x42df96
mov eax, dword [esp + 0x18]
cmp word [esp + 0x2e], ax
jne 0x42df8a
test edi, edi
jne 0x42deff
test dl, dl
je 0x42df8a
push ebx
lea ecx, [esp + 0x2c]
call fcn.0042c689
pop ecx
test eax, eax
jne 0x42dcbc
mov ax, word [esp + 0x54]
add dword [ebx + 0x18], 0x10
mov word [esp + 0x2c], ax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x42df96
push dword [esp + 0x48]
call fcn.0044cc69
pop ecx
push dword [esp + 0x48]
mov esi, eax
push dword [esp + 0x16c]
push esi
call fcn.0044fac0
add esp, 0xc
mov dword [esp + 0x168], esi
push 0x360
call fcn.0044c8c5
pop ecx
mov edx, eax
lea esi, [esp + 0x28]
mov ecx, 0xd8
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x44]
test ecx, ecx
jne 0x42df76
mov dword [ebx + 0x44], edx
jmp 0x42df86
mov ecx, eax
mov eax, dword [ecx + 0x35c]
test eax, eax
jne 0x42df74
mov dword [ecx + 0x35c], edx
xor eax, eax
jmp 0x42df96
mov eax, 0x4000000
jmp 0x42df96
mov eax, 0x10000
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044c4ac
mov esp, ebp
pop ebp
ret 0x10