Function at 0x479860
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x54]
push ebx
mov dword [ebp - 0x20], ebx
call fcn.0047e777
mov edx, ebx
lea eax, [ebx + 0x6c]
neg edx
sbb edx, edx
xor edi, edi
and edx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebx]
mov dword [ebp - 0xc], edi
mov ecx, dword [edx]
mov esi, dword [eax + 0x1c]
mov dword [ebp - 8], ecx
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x48]
push 0x33
mov dword [ebp - 0x14], eax
call fcn.0046a0d1
mov ecx, dword [0x4d6258]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
cmp dword [ecx + 0x6c], edi
je 0x4798e0
mov ecx, dword [ebp - 0x48]
push 0x21
call fcn.0046a0d1
mov esi, eax
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x14], edi
jne 0x4798e0
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x48]
push 0xe
call fcn.0046a0d1
mov ecx, dword [ebp - 0x48]
push 0x32
call fcn.0046a0d1
test eax, eax
jne 0x4798ea
mov ecx, dword [ebp - 0x48]
push 0x5a
call fcn.0046a0d1
test eax, eax
je 0x479944
push ebx
lea ecx, [ebp - 0x40]
call fcn.0048fa23
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ecx + 0x14]
call fcn.0048fa85
mov ecx, 0x80
call fcn.004cc0e2
test eax, eax
je 0x4799da
lea ecx, [ebp - 0x54]
push ecx
push ecx
push ebx
mov ecx, eax
call fcn.0047dc06
mov edi, eax
jmp 0x4799da
mov ecx, dword [ebp - 0x48]
push 0x36
call fcn.0046a0d1
test eax, eax
jne 0x479992
movzx eax, word [ebx + 0x12]
mov ecx, dword [0x4d6288]
push eax
call fcn.004cb853
mov edi, eax
push 0x36
mov ecx, dword [edi]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x4d8248]
mov ecx, edi
call esi
test eax, eax
jne 0x479990
mov ecx, dword [0x4d6258]
push 0x40
call fcn.00444b6d
xor edi, edi
test eax, eax
je 0x47999f
jmp 0x479992
xor edi, edi
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 1
je 0x4799a2
mov dword [ebp - 0x1c], edi
mov ax, word [ebx + 0x70]
push dword [ebp - 4]
mov word [ebp - 0x2c], ax
lea eax, [ebp - 4]
push eax
call fcn.00498528
test eax, eax
je 0x4799e9
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x40]
lea eax, [esi + 8]
push eax
call fcn.0048fa85
mov edi, dword [esi + 4]
mov eax, ecx
mov ecx, dword [ebp + 8]
push eax
lea ecx, [ecx + 0x14]
call fcn.0048fa85
lea ecx, [ebp - 0x54]
call fcn.0047e7c9
mov eax, edi
jmp 0x479bfc
mov ecx, 0x8c
call fcn.004cc0e2
mov ebx, eax
mov esi, 0xfffc
test ebx, ebx
je 0x479a45
mov ecx, dword [ebp - 0x20]
mov al, byte [ecx + 0x73]
and al, 1
movzx eax, al
push eax
lea eax, [ebp - 0x40]
push eax
push ecx
mov ecx, ebx
call fcn.0047d8fc
and word [ebx + 0x80], si
or dword [ebx + 0x70], 0xffffffff
mov dword [ebx], 0x4068ec
mov dword [ebx + 0x6c], 0x406a24
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x84], edi
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0x88], edi
jmp 0x479a47
mov ebx, edi
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x40]
push ecx
lea eax, [esi + 8]
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.0048fa85
mov dword [esi + 4], ebx
mov ecx, dword [ebp - 8]
mov eax, ecx
mov dword [ebp - 0x58], eax
test ecx, ecx
je 0x479a72
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 8], ecx
jmp 0x479a75
mov dword [ebp - 8], edi
test eax, eax
je 0x479ac0
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, dword [ebp - 0x58]
call esi
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x479a9b
mov dword [ecx + 8], eax
jmp 0x479a9e
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
test eax, eax
je 0x479c03
mov eax, dword [eax + 8]
test eax, eax
je 0x479a5e
mov edi, eax
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 8]
test eax, eax
jne 0x479ab0
xor edi, edi
jmp 0x479a5e
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x479afb
mov edi, dword [eax + 0x10]
lea ecx, [ebp - 0x94]
lea eax, [ebp - 0x54]
push eax
call fcn.0047d425
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, edi
call esi
lea ecx, [ebp - 0x94]
mov dword [ebx + 0x78], eax
call fcn.0047e7c9
xor edi, edi
mov eax, dword [0x4d6258]
cmp dword [eax + 0x6c], edi
je 0x479b21
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x479b21
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d8248]
mov ecx, dword [ebp - 0x10]
call esi
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], eax
movzx ecx, word [ebp - 0x40]
mov eax, dword [ebp - 0x34]
mov edx, ecx
dec eax
neg edx
add eax, ecx
dec ecx
and eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
add eax, ecx
lea ecx, [ebp - 0x40]
and eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ax, word [ebx + 0x80]
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
mov edx, 0xfffc
mov esi, dword [0x4d6258]
setne cl
and ax, dx
add ecx, 2
or cx, ax
mov word [ebx + 0x80], cx
cmp dword [esi + 0x6c], edi
je 0x479bab
cmp dword [ebx + 0x24], 0x80000000
jb 0x479bab
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x54]
push edi
mov esi, 0x985
push esi
call fcn.0046af59
push esi
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x40]
push eax
call fcn.0048fa85
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
cmp dword [esi + 0x6c], edi
je 0x479be3
cmp dword [ebp - 0x14], 0
jne 0x479be3
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x479be3
movzx eax, word [eax + 0x20]
mov cx, word [ebp - 0x3e]
cmp cx, ax
jbe 0x479bdf
movzx eax, cx
mov word [ebp - 0x3e], ax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ecx + 0x14]
call fcn.0048fa85
lea ecx, [ebp - 0x54]
call fcn.0047e7c9
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
push 0x42d090
mov edx, 0x37e
mov ecx, 0x42d044
call fcn.004ca0da
int3