Function at 0x462b90
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4752f3
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4a3140]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, dword [esp + 0xcc]
push 0x20
mov edi, ecx
push 0xe
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], esi
call fcn.0045a720
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
sar ecx, 2
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
sar ecx, 2
shr ecx, 1
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
sar ecx, 2
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x28]
mov dword [eax + 0x18], edx
mov ebx, dword [edi]
test dword [ebx + 0x18], 0x100000
je 0x462c5d
mov ebx, dword [edi + 0x48]
mov ebp, ebx
and ebp, ecx
cmp ebp, ebx
je 0x462c37
mov ebx, dword [edi + 0x4c]
mov ebp, ebx
and ebp, ecx
cmp ebp, ebx
jne 0x462c3f
mov ebx, dword [edi + 0x50]
or ebx, ecx
mov dword [eax + 0x14], ebx
mov ecx, dword [edi + 0x48]
mov ebx, ecx
and ebx, edx
cmp ebx, ecx
je 0x462c55
mov ecx, dword [edi + 0x4c]
mov ebx, ecx
and ebx, edx
cmp ebx, ecx
jne 0x462c5d
mov ecx, dword [edi + 0x50]
or ecx, edx
mov dword [eax + 0x18], ecx
mov cl, byte [esi + 0x20]
mov byte [eax + 0x1c], cl
mov cl, byte [esi + 0x21]
test cl, cl
sete dl
mov byte [eax + 0x1d], dl
mov ecx, dword [edi]
mov edi, dword [esi]
sub eax, dword [ecx + 0x13c]
mov esi, dword [esi + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x462d46
jmp 0x462c90
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x138]
xor edx, edx
cmp word [edi + 2], dx
setne dl
sub ecx, eax
lea ebp, [edx + edx + 4]
cmp ecx, ebp
jae 0x462cca
mov edx, ebp
sub edx, dword [esi + 0x13c]
lea ecx, [esi + 0x138]
add edx, eax
call fcn.0046e180
mov ebx, dword [esi + 0x140]
mov edx, dword [esp + 0x14]
add ebp, ebx
mov dword [esi + 0x140], ebp
mov al, byte [edx + 0xc]
movzx ecx, word [edi]
mov edx, dword [edx + 4]
test al, al
je 0x462cf7
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.0046ec10
movzx eax, ax
jmp 0x462cf9
mov eax, ecx
mov word [ebx], ax
movzx eax, word [edi + 2]
test ax, ax
je 0x462d33
mov esi, dword [esp + 0x14]
mov dl, byte [esi + 0xc]
mov ecx, eax
mov eax, dword [esi + 4]
test dl, dl
je 0x462d29
mov eax, dword [eax]
mov edx, dword [eax]
call fcn.0046ec10
xor edx, edx
movzx eax, ax
mov word [ebx + 4], dx
jmp 0x462d35
xor edx, edx
mov eax, ecx
mov word [ebx + 4], dx
jmp 0x462d35
xor eax, eax
add edi, 4
mov word [ebx + 2], ax
cmp edi, dword [esp + 0x1c]
jne 0x462c90
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp ecx, edx
jne 0x462e19
mov ebx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], eax
cmp ebx, eax
je 0x4635bd
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], 0
mov word [esp + 0x54], cx
movzx ecx, word [ebx + 2]
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc4], eax
lea eax, [ebx + 2]
test cx, cx
je 0x4634bc
mov dx, word [ebx]
mov word [esp + 0xaa], cx
xor eax, eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esi + 4]
mov word [esp + 0xac], dx
lea edx, [esp + 0xac]
mov word [esp + 0xb0], ax
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00461b10
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 8
call fcn.00410c10
mov edi, 8
mov byte [esp + 0xc4], 7
cmp dword [esp + 0x84], edi
jb 0x463506
mov ecx, dword [esp + 0x70]
push ecx
jmp 0x4634fe
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov bp, word [ecx]
mov di, word [ecx + 2]
mov al, byte [esi + 0xc]
mov ecx, dword [esi + 4]
mov word [esp + 0x28], bp
mov word [esp + 0x2a], di
test al, al
je 0x462e4d
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
call fcn.0046ec10
mov bp, ax
mov word [esp + 0x28], bp
mov al, byte [esi + 0xc]
mov ecx, dword [esi + 4]
test al, al
je 0x462e6c
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x2a]
call fcn.0046ec10
mov di, ax
mov word [esp + 0x2a], di
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov si, word [eax + 4]
mov bx, word [eax + 6]
mov ecx, dword [edx + 4]
add eax, 4
mov dword [esp + 0x18], eax
mov al, byte [edx + 0xc]
mov word [esp + 0x20], si
mov word [esp + 0x22], bx
test al, al
je 0x462eb0
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
call fcn.0046ec10
mov edx, dword [esp + 0x14]
mov si, ax
mov word [esp + 0x20], si
mov al, byte [edx + 0xc]
mov ecx, dword [edx + 4]
test al, al
je 0x462ed3
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x22]
call fcn.0046ec10
mov edx, dword [esp + 0x14]
mov bx, ax
mov word [esp + 0x22], bx
add dword [esp + 0x18], 4
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], eax
mov word [esp + 0x70], cx
mov dword [esp + 0xc4], eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], cx
mov edx, dword [edx]
test dword [edx + 0x18], 0x200000
mov byte [esp + 0xc4], 1
je 0x463196
xor edx, edx
cmp di, ax
mov word [esp + 0xa8], bp
mov word [esp + 0xaa], di
mov word [esp + 0xac], cx
mov word [esp + 0xb0], si
mov word [esp + 0xb2], bx
mov word [esp + 0xb4], dx
lea eax, [esp + 0xac]
jne 0x462f67
lea eax, [esp + 0xaa]
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [edx + 4]
call fcn.0045b460
mov esi, eax
lea eax, [esp + 0x70]
mov byte [esp + 0xc4], 2
mov ebx, 8
cmp eax, esi
je 0x463014
cmp dword [esp + 0x84], ebx
jb 0x462fb2
mov ecx, dword [esp + 0x70]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
xor edx, edx
mov ebp, 7
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], edi
mov word [esp + 0x70], dx
cmp dword [esi + 0x14], ebx
jae 0x462feb
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [esp + 0x74]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x462ff3
mov edx, dword [esi]
mov dword [esp + 0x70], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x84], ecx
xor edx, edx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], edi
mov word [esi], dx
jmp 0x463019
xor edi, edi
lea ebp, [edi + 7]
mov byte [esp + 0xc4], 1
cmp dword [esp + 0x68], ebx
jb 0x463034
mov eax, dword [esp + 0x54]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0xb4]
cmp word [esp + 0xb2], di
jne 0x46304c
lea eax, [esp + 0xb2]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0x5c]
push edx
call fcn.0045b460
mov esi, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], 3
cmp ecx, esi
je 0x4630d9
cmp dword [esp + 0x4c], ebx
jb 0x46308b
mov edx, dword [esp + 0x38]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edi
mov word [esp + 0x38], ax
cmp dword [esi + 0x14], ebx
jae 0x4630b8
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x3c]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x4630c0
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov dword [esi], edi
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x4c], edx
xor eax, eax
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], edi
mov word [esi], ax
mov byte [esp + 0xc4], 1
cmp dword [esp + 0x68], ebx
jb 0x4630f4
mov ecx, dword [esp + 0x54]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x80], edi
jne 0x463140
xor edx, edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 1
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 4
call fcn.00410c10
mov byte [esp + 0xc4], 1
cmp dword [esp + 0x68], ebx
jb 0x463140
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], edi
jne 0x463303
xor eax, eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 1
mov dword [esp + 0x54], eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc8], 5
call fcn.00410c10
mov byte [esp + 0xc4], 1
cmp dword [esp + 0x68], ebx
jb 0x463303
mov eax, dword [esp + 0x54]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x463303
cmp di, ax
je 0x4631f3
mov ecx, dword [esp + 0x28]
push ecx
push 1
push 0
lea ecx, [esp + 0x7c]
call fcn.0042ebf0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
mov eax, edx
cmp ecx, 8
jae 0x4631c3
lea eax, [esp + 0x70]
mov esi, dword [esp + 0x80]
cmp ecx, 8
lea eax, [eax + esi*2]
mov ecx, edx
jae 0x4631d8
lea ecx, [esp + 0x70]
test eax, eax
je 0x4631e0
sub eax, ecx
sar eax, 1
mov edx, dword [esp + 0x2a]
push edx
push 1
push eax
lea ecx, [esp + 0x7c]
call fcn.0042ebf0
jmp 0x463241
xor eax, eax
mov dword [esp + 0x68], 7
mov word [esp + 0x54], bp
mov dword [esp + 0x64], 1
mov word [esp + 0x56], ax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 6
call fcn.00410c10
cmp dword [esp + 0x68], 8
mov byte [esp + 0xc4], 1
jb 0x463241
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov eax, edx
test bx, bx
je 0x4632c3
cmp ecx, 8
jae 0x46325d
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x48]
cmp ecx, 8
lea eax, [eax + esi*2]
mov ecx, edx
jae 0x46326f
lea ecx, [esp + 0x38]
test eax, eax
je 0x463277
sub eax, ecx
sar eax, 1
mov ecx, dword [esp + 0x20]
push ecx
push 1
push eax
lea ecx, [esp + 0x44]
call fcn.0042ebf0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, edx
cmp ecx, 8
jae 0x46329b
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x48]
cmp ecx, 8
lea eax, [eax + esi*2]
mov ecx, edx
jae 0x4632ad
lea ecx, [esp + 0x38]
test eax, eax
jne 0x4632b8
mov edx, dword [esp + 0x22]
push edx
jmp 0x4632eb
mov edx, dword [esp + 0x22]
sub eax, ecx
sar eax, 1
push edx
jmp 0x4632eb
cmp ecx, 8
jae 0x4632cc
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x48]
cmp ecx, 8
lea eax, [eax + esi*2]
mov ecx, edx
jae 0x4632de
lea ecx, [esp + 0x38]
test eax, eax
je 0x4632e6
sub eax, ecx
sar eax, 1
mov ecx, dword [esp + 0x20]
push ecx
push 1
push eax
lea ecx, [esp + 0x44]
call fcn.0042ebf0
mov ebp, 7
mov ebx, 8
xor edi, edi
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], ebx
jae 0x463314
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x80]
push edx
push eax
mov eax, dword [esp + 0x50]
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.00417700
test eax, eax
js 0x46347d
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
mov esi, dword [eax]
add edi, dword [esp + 0x80]
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x138]
lea edi, [edi + edi + 4]
sub ecx, eax
cmp ecx, edi
jae 0x463370
mov edx, edi
sub edx, dword [esi + 0x13c]
lea ecx, [esi + 0x138]
add edx, eax
call fcn.0046e180
mov ebp, dword [esi + 0x140]
add edi, ebp
mov dword [esi + 0x140], edi
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x70]
mov edx, eax
cmp ecx, ebx
jae 0x463393
lea edx, [esp + 0x70]
mov esi, dword [esp + 0x80]
lea esi, [edx + esi*2]
cmp ecx, ebx
jae 0x4633a5
lea eax, [esp + 0x70]
mov ecx, ebp
cmp eax, esi
je 0x4633c0
jmp 0x4633b0
mov dx, word [eax]
add eax, 2
mov word [ecx], dx
add ecx, 2
cmp eax, esi
jne 0x4633b0
mov ecx, dword [esp + 0x80]
xor eax, eax
mov word [ebp + ecx*2], ax
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
lea ebp, [ebp + edx*2 + 2]
mov edx, eax
cmp ecx, ebx
jae 0x4633eb
lea edx, [esp + 0x38]
mov esi, dword [esp + 0x48]
lea esi, [edx + esi*2]
cmp ecx, ebx
jae 0x4633fa
lea eax, [esp + 0x38]
mov ecx, ebp
cmp eax, esi
je 0x463410
mov dx, word [eax]
add eax, 2
mov word [ecx], dx
add ecx, 2
cmp eax, esi
jne 0x463400
mov ecx, dword [esp + 0x48]
xor eax, eax
mov word [ebp + ecx*2], ax
cmp dword [esp + 0x4c], ebx
jb 0x46342e
mov edx, dword [esp + 0x38]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0xc4], 0xffffffff
cmp dword [esp + 0x84], ebx
jb 0x463466
mov ecx, dword [esp + 0x70]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x18], edx
jne 0x462e15
mov eax, dword [esp + 0x30]
jmp 0x462d60
cmp dword [esp + 0x4c], ebx
jb 0x463490
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edi
mov word [esp + 0x38], cx
cmp dword [esp + 0x84], ebx
jb 0x4634b5
mov edx, dword [esp + 0x70]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x4635d0
mov ecx, dword [esi + 4]
push eax
push ebx
lea edx, [esp + 0x94]
push edx
call fcn.00461b10
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 9
call fcn.00410c10
mov edi, 8
mov byte [esp + 0xc4], 7
cmp dword [esp + 0xa0], edi
jb 0x463506
mov eax, dword [esp + 0x8c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4635fa
mov esi, dword [esi]
mov ecx, dword [esi + 0x138]
lea edi, [eax + eax + 2]
mov eax, dword [esi + 0x140]
sub ecx, eax
cmp ecx, edi
jae 0x46353f
mov edx, edi
sub edx, dword [esi + 0x13c]
lea ecx, [esi + 0x138]
add edx, eax
call fcn.0046e180
mov ebp, dword [esi + 0x140]
add edi, ebp
mov dword [esi + 0x140], edi
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
mov edx, eax
cmp ecx, 8
jae 0x463560
lea edx, [esp + 0x54]
mov esi, dword [esp + 0x64]
lea esi, [edx + esi*2]
cmp ecx, 8
jae 0x463570
lea eax, [esp + 0x54]
mov ecx, ebp
cmp eax, esi
je 0x463586
mov dx, word [eax]
add eax, 2
mov word [ecx], dx
add ecx, 2
cmp eax, esi
jne 0x463576
mov ecx, dword [esp + 0x64]
xor eax, eax
mov word [ebp + ecx*2], ax
add ebx, 4
cmp dword [esp + 0x68], 8
mov dword [esp + 0xc4], 0xffffffff
jb 0x4635b3
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, dword [esp + 0x1c]
jne 0x462d72
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x13c]
add eax, dword [esp + 0x34]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00456bde
add esp, 0xb4
ret 8
cmp dword [esp + 0x68], edi
jb 0x4634b5
mov eax, dword [esp + 0x54]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x4635d0