Function at 0x476990
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4c1373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x898
push ebx
push ebp
push esi
push edi
call fcn.00475800
xor ebx, ebx
mov edi, 0xf
mov byte [esp + 0x13], al
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov eax, dword [0x4e6d48]
mov ebp, dword [esp + 0x8b8]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 0x8b0], ebx
je 0x476a41
mov edx, dword [ebp]
mov edx, dword [edx]
lea ebx, [ebx]
cmp eax, edx
je 0x476a03
mov eax, dword [ecx*8 + 0x4e6d50]
inc ecx
cmp eax, 0xffffffff
jne 0x4769f0
jmp 0x476a41
mov edi, dword [ecx*8 + 0x4e6d4c]
cmp edi, ebx
je 0x476a3c
mov esi, dword [ebp]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 0xc]
push eax
push ecx
push edi
lea edx, [esp + 0xb8]
push str.Exception:__s__code_0x_x__at_address__08X_in_thread__X_r_n
push edx
call fcn.0049fa8d
add esp, 0x18
mov edi, 0xf
jmp 0x476a67
mov edi, 0xf
mov esi, dword [ebp]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 0xc]
push eax
push ecx
lea edx, [esp + 0xb4]
push str.Unknown_exception:__code_0x_x__at_address__08X_in_thread__X_r_n
push edx
call fcn.0049fa8d
add esp, 0x14
lea eax, [esp + 0xa8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476a71
sub eax, edx
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x1c]
call fcn.004188c0
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [ebp]
lea edx, [esp + 0x50]
push edx
mov edx, dword [ecx + 0xc]
push 0x800
lea eax, [esp + 0xb4]
push eax
push edx
call fcn.00475990
lea eax, [esp + 0xbc]
add esp, 0x14
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x476ac8
sub eax, ecx
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x5c]
call fcn.00406680
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x8b8], 1
call fcn.00475d00
push eax
lea eax, [esp + 0x98]
push str.Module:
push eax
mov byte [esp + 0x8c4], 2
call fcn.00418ac0
push 0x4cbce4
push eax
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x8d0], 3
call fcn.00418a10
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8bc], 4
call fcn.004187c0
mov eax, dword [esp + 0x88]
mov esi, 0x10
cmp eax, esi
jb 0x476b65
mov edx, dword [esp + 0x74]
push edx
call fcn.0049f22c
add esp, 4
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x476b90
mov eax, dword [esp + 0x90]
push eax
call fcn.0049f22c
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x476bb8
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0049f22c
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x8b0], bl
jb 0x476bde
mov edx, dword [esp + 0x58]
push edx
call fcn.0049f22c
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0xb0]
push str.Logical_Address:__04X:_08X_r_n
push edx
call fcn.0049fa8d
lea eax, [esp + 0xb8]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476c07
sub eax, edx
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x1c]
call fcn.004188c0
mov eax, 0x4cbce4
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476c30
sub eax, edx
push eax
push 0x4cbce4
lea ecx, [esp + 0x1c]
call fcn.004188c0
mov ecx, dword [ebp + 4]
cmp byte [esp + 0x13], bl
push ebx
lea edx, [esp + 0x34]
push ecx
push edx
je 0x476c6a
call fcn.004764e0
add esp, 0xc
mov byte [esp + 0x8b0], 5
jmp 0x476c7a
call fcn.004762d0
add esp, 0xc
mov byte [esp + 0x8b0], 6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push eax
call fcn.004187c0
cmp dword [esp + 0x48], esi
mov byte [esp + 0x8b0], bl
jb 0x476ca1
mov eax, dword [esp + 0x34]
push eax
call fcn.0049f22c
add esp, 4
mov eax, 0x4cbce4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476cb0
sub eax, edx
push eax
push 0x4cbce4
lea ecx, [esp + 0x1c]
call fcn.004188c0
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x9c]
mov edx, dword [eax + 0xa0]
push ecx
mov ecx, dword [eax + 0xa8]
push edx
mov edx, dword [eax + 0xac]
push ecx
mov ecx, dword [eax + 0xa4]
push edx
mov edx, dword [eax + 0xb0]
push ecx
push edx
lea eax, [esp + 0xc0]
push str.EAX:_08X_EBX:_08X_ECX:_08X_EDX:_08X_ESI:_08X_EDI:_08X_r_n
push eax
call fcn.0049fa8d
lea eax, [esp + 0xc8]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476d14
sub eax, edx
push eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004188c0
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0xb4]
mov ecx, dword [eax + 0xc4]
push edx
mov edx, dword [eax + 0xb8]
push ecx
push edx
lea eax, [esp + 0xb4]
push str.EIP:_08X_ESP:_08X__EBP:_08X_r_n
push eax
call fcn.0049fa8d
lea eax, [esp + 0xbc]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476d66
sub eax, edx
push eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004188c0
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0x8c]
mov ecx, dword [eax + 0x90]
push edx
mov edx, dword [eax + 0x94]
push ecx
mov ecx, dword [eax + 0x98]
push edx
mov edx, dword [eax + 0xc8]
mov eax, dword [eax + 0xbc]
push ecx
push edx
push eax
lea ecx, [esp + 0xc0]
push str.CS:_04X_SS:_04X_DS:_04X_ES:_04X_FS:_04X_GS:_04X_r_n
push ecx
call fcn.0049fa8d
lea eax, [esp + 0xc8]
add esp, 0x20
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476dd0
sub eax, edx
push eax
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x1c]
call fcn.004188c0
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xc0]
push ecx
lea edx, [esp + 0xac]
push str.Flags:_08X_r_n
push edx
call fcn.0049fa8d
lea eax, [esp + 0xb4]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476e14
sub eax, edx
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x1c]
call fcn.004188c0
mov eax, 0x4cbce4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476e37
sub eax, edx
push eax
push 0x4cbce4
lea ecx, [esp + 0x1c]
call fcn.004188c0
lea ecx, [esp + 0x30]
push ecx
call fcn.00475db0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8bc], 7
call fcn.004187c0
cmp dword [esp + 0x48], esi
mov byte [esp + 0x8b0], bl
jb 0x476e8b
mov edx, dword [esp + 0x34]
push edx
call fcn.0049f22c
add esp, 4
mov ecx, dword [0x520638]
cmp ecx, ebx
je 0x476f08
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push edx
call dword [eax + 0x6c]
cmp dword [esp + 0x44], ebx
mov byte [esp + 0x8b0], 8
jbe 0x476ede
mov eax, 0x4cbce4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476eb5
sub eax, edx
push eax
push 0x4cbce4
lea ecx, [esp + 0x1c]
call fcn.004188c0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
call fcn.004187c0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x520638]
call fcn.00444e10
cmp dword [esp + 0x48], esi
mov byte [esp + 0x8b0], bl
jb 0x476f08
mov edx, dword [esp + 0x34]
push edx
call fcn.0049f22c
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.004768e0
lea ecx, [esp + 0x18]
push ecx
call fcn.00475aa0
add esp, 8
call fcn.00475970
push 3
call fcn.004a1e6f
pop edi
pop esi
pop ebp
pop ebx
nop
mov ecx, dword [0x520638]
test ecx, ecx
je 0x476f3f
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, dword [esp + 4]
push ecx
call fcn.00476990
add esp, 4
xor eax, eax
ret 4