Function at 0x100454c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x4004
ja 0x10045507
cmp dword [ebp - 0x64], 0x4004
je 0x10045a59
mov edx, dword [ebp - 0x64]
sub edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 9
ja case.0x100455a4.7
mov eax, dword [ebp - 0x64]
jmp dword [eax*4 + 0x100460f6]
cmp dword [ebp - 0x64], 0x402a
ja 0x10045545
cmp dword [ebp - 0x64], 0x402a
je 0x100457dc
mov ecx, dword [ebp - 0x64]
sub ecx, 0x4005
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x1d
ja case.0x100455a4.7
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dl, byte [eax + 0x1004616a]
jmp dword [edx*4 + 0x1004611e]
cmp dword [ebp - 0x64], 0x5000
ja 0x10045583
cmp dword [ebp - 0x64], 0x5000
je 0x1004572b
mov ecx, dword [ebp - 0x64]
sub ecx, 0x403c
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0xc
ja case.0x100455a4.7
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dl, byte [eax + 0x100461a4]
jmp dword [edx*4 + 0x10046188]
mov ecx, dword [ebp - 0x64]
sub ecx, 0x5001
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x1f
ja case.0x100455a4.7
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dl, byte [eax + 0x100461d1]
jmp dword [edx*4 + 0x100461b1]
cmp dword [0x100a439c], 0
je 0x100455bd
mov dword [ebp - 0x60], 0
jmp 0x100455e1
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 0x182
jne 0x100455d9
mov dword [ebp - 0x60], 0
jmp 0x100455e1
call fcn.10034bf0
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [ebp + 8], 0xffff0000
jne 0x100455f8
mov dword [ebp - 0x60], 1
jmp 0x10045626
cmp dword [0x100a439c], 0
jne 0x1004560a
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10045613
mov dword [ebp - 0x60], 0
jmp 0x10045626
mov eax, dword [ebp - 4]
push eax
call fcn.10040330
add esp, 4
mov dword [ebp - 0x60], 1
jmp 0x100460eb
cmp dword [0x100a439c], 0
je 0x1004563d
mov dword [ebp - 0x60], 0
jmp 0x10045650
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.10040690
add esp, 4
mov dword [ebp - 0x60], 1
jmp 0x100460eb
cmp dword [ebp + 0x18], 0
jne 0x10045664
mov dword [ebp - 0x60], 0xffff0000
jmp 0x10045685
cmp dword [0x100a439c], 0
je 0x10045676
mov dword [ebp - 0x60], 0
jmp 0x10045685
mov edx, dword [ebp + 0x18]
push edx
call fcn.100402d0
add esp, 4
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045698
call fcn.10034ca0
mov dword [ebp - 0x60], 1
jmp 0x100460eb
mov dword [ebp - 0x60], 1
jmp 0x100460eb
cmp dword [ebp + 0x14], 0xffffffff
jne 0x100456bf
mov dword [ebp - 0x60], 0
jmp 0x100456ce
mov eax, dword [ebp + 0x14]
push eax
call fcn.10040690
add esp, 4
mov dword [ebp - 0x60], eax
jmp 0x100460eb
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046290
add esp, 4
cmp dword [0x100a439c], 0
jne 0x100456f1
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x100456fa
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x1004570d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100404b0
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045726
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x1004573d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045746
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x1004575d
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10040540
add esp, 0xc
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045774
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x1004577d
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x100457a0
mov eax, dword [ebp - 4]
push eax
call fcn.10046290
add esp, 4
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100405a0
add esp, 0xc
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x100457b7
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x100457c0
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x100457d7
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10040370
add esp, 0xc
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x100457ee
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x100457f7
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x1004580a
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10047230
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045823
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x1004583a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045843
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045856
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10047270
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x1004586f
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045886
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x1004588f
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x100458a2
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.100472e0
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x100458bb
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x100458d2
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x100458db
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x100458ee
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100472b0
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045907
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x1004591e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045927
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x1004594a
mov edx, dword [ebp - 4]
push edx
call fcn.10046290
add esp, 4
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10047320
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045963
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10047520
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045998
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x100459af
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x100459b8
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x100459dd
mov edx, dword [ebp - 4]
push edx
call fcn.10046290
add esp, 4
push 1
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046930
add esp, 0x10
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x100459f6
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045a0d
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10045a16
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045a3b
mov eax, dword [ebp - 4]
push eax
call fcn.10046290
add esp, 4
push 1
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046950
add esp, 0x10
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045a54
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045a6b
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10045a74
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045a8b
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046750
add esp, 0xc
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045aa2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045aab
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045abe
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100468a0
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045ad5
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045ade
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045af1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046ca0
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045b0a
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045b21
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10045b2a
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045b39
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046c10
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045b52
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045b69
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045b72
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045ba2
mov ecx, 0xd
mov esi, 0x1009db70
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
push 0
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10041b00
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045bbb
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045bd2
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10045bdb
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045c0b
mov ecx, 0xd
mov esi, 0x1009db70
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x50], ecx
push 0
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10041f10
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045c24
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045c3b
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10045c44
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045c64
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx + 0xa0]
push edx
call fcn.10041e70
add esp, 0xc
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045c7b
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10045c84
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045cb2
mov ecx, 0xd
mov esi, 0x1009db70
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10041c30
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045ccb
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045ce2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045ceb
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045cfe
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10041d10
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045d17
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045d2e
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10045d37
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045d87
mov ecx, 0xd
mov esi, 0x1009db70
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x4c], ecx
push 0
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.100420e0
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045da0
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045db7
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10045dc0
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045dcf
mov ecx, dword [ebp - 4]
push ecx
call fcn.10042390
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045de8
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045dff
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045e08
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045e1d
push 1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10041b00
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045e36
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045e4d
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10045e56
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045e6b
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10041f10
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045e84
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045e9b
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10045ea4
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045eb9
push 1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.100420e0
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045ed2
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045ee9
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10045ef2
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045f01
mov edx, dword [ebp - 4]
push edx
call fcn.10042390
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045f1a
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045f31
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10045f3a
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045f51
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10045290
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045f6a
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045f81
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10045f8a
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045f92
call fcn.1007a980
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045fab
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x10045fc2
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x10045fcb
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10045fda
mov eax, dword [ebp - 4]
push eax
call fcn.100453b0
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10045ff3
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
jne 0x1004600a
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x10046013
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x10046022
mov ecx, dword [ebp - 4]
push ecx
call fcn.100453d0
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x1004603b
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
je 0x10046052
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x1004605a
call fcn.100453f0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x10046073
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
cmp dword [0x100a439c], 0
je 0x10046087
mov dword [ebp - 0x60], 0xfffffff6
jmp 0x1004608f
call fcn.100453f0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x100460a8
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10046250
add esp, 8
mov dword [ebp - 0x60], eax
jmp 0x100460eb
mov dword [ebp - 0x60], 1
jmp 0x100460eb
mov dword [ebp - 0x60], 1
jmp 0x100460eb
cmp dword [ebp + 0x10], 0x4000
jae 0x100460e4
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINMM.dll_DefDriverProc]
mov dword [ebp - 0x60], eax
jmp 0x100460eb
mov dword [ebp - 0x60], 0xffffffff
mov eax, dword [ebp - 0x60]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14