Function at 0x41c793
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4338ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x510
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
push edi
mov dword [0x445474], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
push dword [ebp + 8]
mov dword [esp + 0x530], ebx
call fcn.0041c55b
add esp, 0xc
test al, al
jne 0x41c827
mov dword [esp + 0x524], 1
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x41c80b
call fcn.00406e0a
or dword [esp + 0x524], 0xffffffff
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x41c820
call fcn.00406e0a
xor al, al
jmp 0x41d02c
push dword [0x4442d8]
call fcn.00401223
pop ecx
push ebx
push ebx
push ebx
push 1
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x4381cc
mov esi, str.C__a
mov byte [ecx], bl
call fcn.004090c9
mov edx, esi
lea ecx, [esp + 0xd8]
call fcn.0041d0a9
mov byte [esp + 0x538], 2
cmp dword [eax + 0x14], 0x10
jb 0x41c87b
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], esp
push 0x4381f4
mov edi, 0x4381dc
call fcn.0040862d
lea eax, [esp + 0xac]
push eax
mov edx, edi
call fcn.0041d041
mov byte [esp + 0x544], 3
cmp dword [eax + 0x14], 8
jb 0x41c8b5
mov eax, dword [eax]
push eax
call dword [0x43505c]
push eax
call dword [0x43503c]
call eax
push 1
xor edi, edi
lea esi, [esp + 0x74]
mov dword [esp + 0x20], eax
call fcn.0040938e
push ebx
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x52c], bl
call fcn.004091ff
cmp dword [esp + 0x1c], ebx
jne 0x41c9b3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x43821c
mov esi, 0x43820c
mov byte [ecx], bl
call fcn.004090c9
mov edx, esi
lea ecx, [esp + 0x8c]
call fcn.0041d175
mov byte [esp + 0x524], 4
cmp dword [eax + 0x14], 0x10
jb 0x41c938
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 0x438248
mov edi, 0x43822c
call fcn.0040862d
lea eax, [esp + 0xd0]
push eax
mov edx, edi
call fcn.0041d10d
mov byte [esp + 0x530], 5
cmp dword [eax + 0x14], 8
jb 0x41c972
mov eax, dword [eax]
push eax
call dword [0x43505c]
push eax
call dword [0x43503c]
call eax
push 1
xor edi, edi
lea esi, [esp + 0xac]
mov dword [0x445474], eax
call fcn.0040938e
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.004091ff
mov dword [esp + 0x524], 6
jmp 0x41c7fe
push ebx
push ebx
push 3
push ebx
push ebx
push dword [esp + 0x20]
mov edi, 0x438264
push dword [esp + 0x3c]
push dword [esp + 0x38]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xf
pop esi
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x438278
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0x138]
call fcn.0041d23d
mov byte [esp + 0x544], 7
cmp dword [eax + 0x14], 0x10
jb 0x41ca06
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x438298
mov edi, 0x43828c
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0x120]
call fcn.0041d1d9
mov byte [esp + 0x548], 8
cmp dword [eax + 0x14], 0x10
jb 0x41ca45
mov eax, dword [eax]
push eax
call dword [0x435040]
push eax
call dword [0x43503c]
call eax
push ebx
push 1
lea ecx, [esp + 0xe8]
mov dword [esp + 0x28], eax
call fcn.004091ff
push ebx
push 1
lea ecx, [esp + 0x104]
mov byte [esp + 0x52c], bl
call fcn.004091ff
cmp dword [esp + 0x20], ebx
jne 0x41cb4e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x4382b4
mov edi, 0x4382a4
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0xfc]
call fcn.0041d309
mov byte [esp + 0x524], 9
cmp dword [eax + 0x14], 0x10
jb 0x41cac6
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 0x4382e0
mov edi, 0x4382c4
call fcn.0040862d
lea eax, [esp + 0x124]
push eax
mov edx, edi
call fcn.0041d2a1
mov byte [esp + 0x530], 0xa
cmp dword [eax + 0x14], 8
jb 0x41cb00
mov eax, dword [eax]
push eax
call dword [0x43505c]
push eax
call dword [0x43503c]
call eax
push 1
xor edi, edi
lea esi, [esp + 0x100]
mov dword [0x445474], eax
call fcn.0040938e
push ebx
push 1
lea ecx, [esp + 0xe8]
call fcn.004091ff
push dword [esp + 0x1c]
call dword [0x4351b4]
mov dword [esp + 0x524], 0xb
jmp 0x41c7fe
push ebx
push 0x84000000
push ebx
push ebx
push ebx
push dword [esp + 0x40]
mov edi, 0x4382fc
push dword [ebp + 0xc]
push dword [esp + 0x3c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.__rV
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0xc8]
call fcn.0041d3d5
mov byte [esp + 0x544], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x41cba0
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x4c], esp
push 0x43833c
mov edi, 0x438324
call fcn.0040862d
lea eax, [esp + 0x104]
push eax
mov edx, edi
call fcn.0041d36d
mov byte [esp + 0x548], 0xd
cmp dword [eax + 0x14], 8
jb 0x41cbd8
mov eax, dword [eax]
push eax
call dword [0x435038]
push eax
call dword [0x43503c]
call eax
push 1
xor edi, edi
lea esi, [esp + 0xc8]
mov dword [esp + 0x10], eax
call fcn.0040938e
push ebx
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x52c], bl
call fcn.004091ff
cmp dword [esp + 0xc], ebx
jne 0x41ccee
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x438364
mov esi, str.1_sH
mov byte [ecx], bl
call fcn.004090c9
mov edx, esi
lea ecx, [esp + 0xe0]
call fcn.0041d4a1
mov byte [esp + 0x524], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x41cc5e
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 0x438390
mov edi, 0x438374
call fcn.0040862d
lea eax, [esp + 0xb4]
push eax
mov edx, edi
call fcn.0041d439
mov byte [esp + 0x530], 0xf
cmp dword [eax + 0x14], 8
jb 0x41cc98
mov eax, dword [eax]
push eax
call dword [0x43505c]
push eax
call dword [0x43503c]
call eax
push 1
xor edi, edi
lea esi, [esp + 0x90]
mov dword [0x445474], eax
call fcn.0040938e
push ebx
push 1
lea ecx, [esp + 0xcc]
call fcn.004091ff
push dword [esp + 0x20]
mov esi, dword [0x4351b4]
call esi
push dword [esp + 0x1c]
call esi
mov dword [esp + 0x524], 0x10
jmp 0x41c7fe
cmp dword [ebp + 0x10], ebx
je 0x41cd0a
mov eax, dword [ebp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ccf9
sub eax, edx
sar eax, 1
jmp 0x41cd0c
xor eax, eax
push dword [ebp + 0x18]
mov edi, 0x4383ac
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [esp + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xf
pop esi
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x4383c0
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0x68]
call fcn.0041d569
mov byte [esp + 0x538], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x41cd58
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x4383e0
mov edi, 0x4383d4
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0x90]
call fcn.0041d505
mov byte [esp + 0x544], 0x12
cmp dword [eax + 0x14], 0x10
jb 0x41cd99
mov eax, dword [eax]
push eax
call dword [0x435044]
push eax
call dword [0x43503c]
call eax
push ebx
push 1
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.004091ff
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x52c], bl
call fcn.004091ff
cmp edi, ebx
jne 0x41ce94
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x4383fc
mov edi, 0x4383ec
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.0041d635
mov byte [esp + 0x524], 0x13
cmp dword [eax + 0x14], 0x10
jb 0x41ce0d
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 0x438428
mov edi, 0x43840c
call fcn.0040862d
lea eax, [esp + 0x60]
push eax
mov edx, edi
call fcn.0041d5cd
mov byte [esp + 0x530], 0x14
cmp dword [eax + 0x14], 8
jb 0x41ce44
mov eax, dword [eax]
push eax
call dword [0x43505c]
push eax
call dword [0x43503c]
call eax
push 1
xor edi, edi
lea esi, [esp + 0x3c]
mov dword [0x445474], eax
call fcn.0040938e
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.004091ff
push dword [esp + 0x20]
mov esi, dword [0x4351b4]
call esi
push dword [esp + 0x1c]
call esi
mov dword [esp + 0x524], 0x15
jmp 0x41c7fe
cmp dword [ebp + 0x1c], ebx
je 0x41cfeb
push 0x400
lea eax, [esp + 0x11c]
push ebx
push eax
call fcn.004241d0
mov dword [esp + 0x24], ebx
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x400
lea eax, [esp + 0x120]
push eax
push dword [esp + 0x18]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x438458
mov edi, 0x438444
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0x80]
call fcn.0041d6fd
mov byte [esp + 0x534], 0x16
or dword [esp + 0x24], 1
cmp dword [eax + 0x14], 0x10
jb 0x41cf10
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x438478
mov edi, 0x43846c
mov byte [ecx], bl
call fcn.004090c9
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.0041d699
mov dword [esp + 0x540], 0x17
or dword [esp + 0x30], 2
cmp dword [eax + 0x14], 0x10
jb 0x41cf56
mov eax, dword [eax]
push eax
call dword [0x435044]
push eax
call dword [0x43503c]
call eax
cmp eax, ebx
je 0x41cf75
mov byte [esp + 0x13], 1
cmp dword [esp + 0x18], ebx
jne 0x41cf79
mov byte [esp + 0x13], bl
test byte [esp + 0x14], 2
je 0x41cf91
and dword [esp + 0x14], 0xfffffffd
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.004091ff
mov dword [esp + 0x524], ebx
test byte [esp + 0x14], 1
je 0x41cfb0
and dword [esp + 0x14], 0xfffffffe
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.004091ff
cmp byte [esp + 0x13], bl
je 0x41cfeb
push dword [ebp + 0x20]
lea eax, [esp + 0x11c]
push dword [esp + 0x1c]
push eax
call dword [ebp + 0x1c]
add esp, 0xc
test al, al
je 0x41cfeb
push 0x400
lea eax, [esp + 0x11c]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.004241d0
jmp 0x41ceb4
push dword [esp + 0x20]
mov esi, dword [0x4351b4]
call esi
push dword [esp + 0x1c]
call esi
mov dword [esp + 0x524], 0x18
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x41d015
call fcn.00406e0a
or dword [esp + 0x524], 0xffffffff
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x41d02a
call fcn.00406e0a
mov al, 1
mov ecx, dword [esp + 0x51c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret