Function at 0x4120e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46809a
push eax
mov eax, dword [0x48702c]
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
xor ebp, ebp
push esi
push edi
cmp eax, ebp
mov edi, ecx
je 0x412446
lea ecx, [esp + 0x1c]
call fcn.00440558
mov eax, dword [0x481e64]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push 0x4868b4
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 7
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
call fcn.00461356
push 0x4868b4
lea ecx, [esp + 0x48]
call fcn.00461356
push 0x4868b4
lea ecx, [esp + 0x4c]
call fcn.00461356
push 0x4868b4
lea ecx, [esp + 0x50]
call fcn.00461356
mov ecx, dword [0x487024]
mov byte [esp + 0x70], 8
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x41233e
mov ebx, 0xa
cmp dword [edi + 0x560], ebx
jge 0x41233e
lea esi, [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 8]
lea eax, [esi + 0xc]
lea ecx, [esp + 0x44]
push eax
mov dword [esp + 0x44], edx
call fcn.00461306
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00461306
lea edx, [esi + 0x14]
lea ecx, [esp + 0x4c]
push edx
call fcn.00461306
lea eax, [esi + 0x18]
lea ecx, [esp + 0x50]
push eax
call fcn.00461306
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00461306
lea edx, [esi + 0x20]
lea ecx, [esp + 0x58]
push edx
call fcn.00461306
lea eax, [esi + 0x24]
lea ecx, [esp + 0x5c]
push eax
call fcn.00461306
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov edx, dword [esi + 0x2c]
cmp eax, ebp
mov dword [esp + 0x64], edx
jne 0x412323
mov eax, dword [esp + 0x38]
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], esp
mov dword [esp + 0x44], esi
mov dword [esi], eax
mov ecx, dword [esp + 0x6c]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x74]
lea ecx, [esi + 0xc]
push eax
mov dword [esi + 8], edx
call fcn.00460f42
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 9
push ecx
lea ecx, [esi + 0x10]
call fcn.00460f42
lea edx, [esp + 0x7c]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0xa4], bl
call fcn.00460f42
lea eax, [esp + 0x80]
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0xa4], 0xb
call fcn.00460f42
lea ecx, [esp + 0x84]
mov byte [esp + 0xa0], 0xc
push ecx
lea ecx, [esi + 0x1c]
call fcn.00460f42
lea edx, [esp + 0x88]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0xa4], 0xd
call fcn.00460f42
lea eax, [esp + 0x8c]
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0xa4], 0xe
call fcn.00460f42
mov ecx, dword [esp + 0x90]
mov byte [esp + 0xa0], 8
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x94]
mov ecx, edi
mov dword [esi + 0x2c], edx
call fcn.00414140
inc dword [edi + 0x560]
lea ecx, [esp + 0x10]
call fcn.00415170
mov ecx, dword [0x487024]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x4121a6
cmp dword [edi + 0x560], ebp
jle 0x4123d3
lea esi, [edi + 0x55c]
push str.HDID
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00461421
push eax
mov ecx, esi
mov byte [esp + 0x74], 0xf
call fcn.00461306
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 8
call fcn.004611cd
push 0x480288
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00461421
push eax
mov ecx, esi
mov byte [esp + 0x74], 0x10
call fcn.00461306
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 8
call fcn.004611cd
mov edx, dword [edi + 0x560]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00460f42
mov ecx, edi
call fcn.00413120
push 0x4868b4
mov ecx, esi
call fcn.00461356
mov dword [edi + 0x560], ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0x70], 0x16
call fcn.004611cd
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 0x15
call fcn.004611cd
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0x14
call fcn.004611cd
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 0x13
call fcn.004611cd
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0x12
call fcn.004611cd
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0x11
call fcn.004611cd
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 0
call fcn.004611cd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00440595
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret