Function at 0x404360
Capabilities:
Load assembly via iassembly
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x17d0
call fcn.0046b9b0
mov esi, esp
mov dword [esi + 0x30], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 0xb4], eax
mov ecx, esp
mov dword [esi + 0x17bc], ecx
mov dword [esi + 0x17c8], 0xffffffff
lea ecx, [esi + 0x17c0]
mov dword [esi + 0x17c4], 0x406ca0
mov edx, dword fs:[0]
mov dword [esi + 0x17c0], edx
mov dword fs:[0], ecx
mov dword [esi + 0xda4], eax
mov dword [esi + 0xda8], 0x47b79c
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov ecx, eax
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xdac], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
mov ecx, eax
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xdb0], eax
mov dword [esi + 0x17c8], 0
mov eax, esp
lea ecx, [esi + 0xde0]
mov dword [eax], ecx
call fcn.004013e0
jmp 0x40440c
mov eax, esp
lea ecx, [esi + 0xde0]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x10b0]
mov dword [esi + 0xa4], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x2d0
call fcn.0046c8a0
mov ecx, dword [esi + 0xa4]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0xc0]
mov dword [esi + 0xa8], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x2d0
call fcn.0046c8a0
mov ecx, dword [esi + 0xa8]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
call eax
sub esp, 4
call fcn.0041d900
mov dword [esi + 0xac], edx
mov dword [esi + 0xb0], eax
jmp 0x40447d
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x39c], ecx
mov dword [esi + 0x3a0], eax
cmp dword [esi + 0x39c], 0
jne 0x404a76
mov eax, dword [esi + 0x3a0]
mov dword [esi + 0xdb4], eax
mov dword [esi + 0x398], eax
mov dword [esi + 0x17c8], 1
mov eax, esp
lea ecx, [esi + 0x398]
mov dword [eax], ecx
call fcn.00422800
mov dword [esi + 0xa0], eax
jmp 0x4044d5
mov eax, dword [esi + 0xa0]
mov dword [esi + 0xdb8], eax
mov eax, esp
lea ecx, [esi + 0x398]
mov dword [eax], ecx
call fcn.00422850
mov dword [esi + 0x9c], eax
jmp 0x4044f8
mov eax, dword [esi + 0x9c]
mov dword [esi + 0xdbc], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov ecx, eax
mov dword [esi + 0x94], ecx
mov dword [esi + 0xdc0], eax
mov eax, esp
lea ecx, [esi + 0x398]
mov dword [eax], ecx
call fcn.00422940
mov dword [esi + 0x98], eax
jmp 0x404530
mov ecx, dword [esi + 0x98]
mov eax, esp
mov dword [eax], ecx
call fcn.00422390
mov dword [esi + 0x90], eax
jmp 0x404547
mov eax, dword [esi + 0x90]
mov dword [esi + 0x3a4], eax
mov eax, dword [esi + 0x3a4]
cmp eax, 0
jne 0x404662
mov eax, esp
lea ecx, [esi + 0x15a8]
mov dword [eax], ecx
call fcn.00401550
jmp 0x404573
mov eax, esp
lea ecx, [esi + 0x15a8]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x16b0]
mov dword [esi + 0x7c], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x108
call fcn.0046c8a0
mov ecx, dword [esi + 0x7c]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0xc88]
mov dword [esi + 0x80], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x108
call fcn.0046c8a0
mov edx, dword [esi + 0x80]
lea ecx, [esi + 0xb78]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x108
call fcn.0046c8a0
mov dword [esi + 0xb74], 0
mov dword [esi + 0xb70], 1
mov eax, esp
lea ecx, [esi + 0xb70]
mov dword [eax + 4], ecx
lea ecx, [esi + 0xa50]
mov dword [esi + 0x84], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x118
call fcn.0046c8a0
mov ecx, dword [esi + 0x84]
mov dword [esi + 0xb68], 0
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x930]
mov dword [esi + 0x88], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x120
call fcn.0046c8a0
mov ecx, dword [esi + 0x88]
mov eax, esp
lea edx, [esi + 0xc0]
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00410910
mov word [esi + 0x8e], ax
jmp 0x404785
mov eax, dword [esi + 0x3a4]
mov dword [esi + 0x78], eax
mov dword [esi + 0xdd0], eax
mov eax, esp
lea ecx, [esi + 0x1388]
mov dword [eax], ecx
call fcn.00401320
jmp 0x404682
mov eax, esp
lea ecx, [esi + 0x1388]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x1498]
mov dword [esi + 0x60], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x110
call fcn.0046c8a0
mov ecx, dword [esi + 0x60]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x3a8]
mov dword [esi + 0x64], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x110
call fcn.0046c8a0
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x4b0], 0x110
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x810]
mov dword [esi + 0x68], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x110
call fcn.0046c8a0
mov edx, dword [esi + 0x68]
lea ecx, [esi + 0x700]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x110
call fcn.0046c8a0
mov dword [esi + 0x6fc], 0
mov dword [esi + 0x6f8], 0
mov eax, esp
lea ecx, [esi + 0x6f8]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x5d8]
mov dword [esi + 0x6c], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x118
call fcn.0046c8a0
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x6f0], 0
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x4b8]
mov dword [esi + 0x70], ecx
mov dword [eax], ecx
mov dword [eax + 8], 0x120
call fcn.0046c8a0
mov ecx, dword [esi + 0x70]
mov eax, esp
lea edx, [esi + 0xc0]
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00410910
mov word [esi + 0x76], ax
jmp 0x404916
mov ax, word [esi + 0x8e]
mov word [esi + 0xdc6], ax
mov eax, dword [esi + 0x930]
cmp eax, 1
jne 0x4047b8
lea eax, [esi + 0x930]
add eax, 8
mov dword [esi + 0x5c], eax
mov dword [esi + 0xdc8], eax
mov dword [esi + 0xdcc], eax
jmp 0x4047d8
mov eax, esp
mov dword [eax + 8], 0x47ba30
mov dword [eax + 4], 0x28
mov dword [eax], 0x47ba06
call fcn.004557d0
jmp 0x404914
mov eax, esp
lea ecx, [esi + 0x398]
mov dword [eax], ecx
call fcn.004227b0
mov dword [esi + 0x58], eax
jmp 0x4047ec
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0xa0]
mov dx, word [esi + 0x8e]
movzx edx, dx
mov dword [esi + 0x50], edx
mov dword [esi + 0xd94], 0
mov dword [esi + 0xd98], ecx
mov dword [esi + 0xd9c], eax
mov dword [esi + 0xda0], 0
mov ebx, dword [esi + 0xd94]
mov edi, dword [esi + 0xd98]
mov edx, dword [esi + 0xd9c]
mov ecx, dword [esi + 0xda0]
lea eax, [esi + 0xc0]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x50]
mov dword [esp], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
call eax
sub esp, 0x24
cmp eax, 1
je 0x4048ab
mov dword [esi + 0x17c8], 0
mov eax, esp
lea ecx, [esi + 0x398]
mov dword [eax], ecx
call fcn.00411920
jmp 0x4048a6
jmp 0x404a76
mov eax, esp
lea ecx, [esi + 0x930]
mov dword [eax], ecx
call fcn.00404ae0
mov dword [esi + 0x4c], eax
jmp 0x4048bf
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0x94]
mov edi, dword [esi + 0x4c]
mov ecx, esp
mov dword [ecx + 4], edi
mov dword [ecx], edx
mov dword [ecx + 8], 0
call eax
sub esp, 0xc
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xa48], eax
mov eax, esp
lea edx, [esi + 0x930]
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0040d890
mov byte [esi + 0x4b], al
jmp 0x404904
mov al, byte [esi + 0x4b]
test al, 1
jne 0x4047d8
jmp 0x40488b
ud2
mov ax, word [esi + 0x76]
mov word [esi + 0xdd6], ax
mov eax, dword [esi + 0x4b8]
cmp eax, 0
jne 0x404946
lea eax, [esi + 0x4b8]
add eax, 8
mov dword [esi + 0x44], eax
mov dword [esi + 0xdd8], eax
mov dword [esi + 0xddc], eax
jmp 0x404963
mov eax, esp
mov dword [eax + 8], 0x47ba40
mov dword [eax + 4], 0x28
mov dword [eax], 0x47ba06
call fcn.004557d0
jmp 0x404914
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0xa0]
mov dx, word [esi + 0x76]
movzx edx, dx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x920], 0
mov dword [esi + 0x924], ecx
mov dword [esi + 0x928], eax
mov dword [esi + 0x92c], 0
mov ebx, dword [esi + 0x920]
mov edi, dword [esi + 0x924]
mov edx, dword [esi + 0x928]
mov ecx, dword [esi + 0x92c]
lea eax, [esi + 0xc0]
mov dword [esi + 0x40], eax
xor eax, eax
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
call eax
sub esp, 0x28
cmp eax, 1
jne 0x40488b
mov eax, esp
lea ecx, [esi + 0x4b8]
mov dword [eax], ecx
call fcn.00404ae0
mov dword [esi + 0x38], eax
jmp 0x404a21
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0x94]
mov edi, dword [esi + 0x38]
mov ecx, esp
mov dword [ecx + 4], edi
mov dword [ecx], edx
mov dword [ecx + 8], 0
call eax
sub esp, 0xc
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0x5d0], eax
mov eax, esp
lea edx, [esi + 0x4b8]
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0040d890
mov byte [esi + 0x37], al
jmp 0x404a66
mov al, byte [esi + 0x37]
test al, 1
jne 0x404963
jmp 0x40488b
mov eax, dword [esi + 0x17c0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret