Function at 0x583b40
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61a3e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x6ea244]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x158]
xor edi, edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x30], eax
cmp eax, edi
je 0x5847b8
call fcn.005827f0
mov eax, dword [str.msw.remap]
cmp eax, edi
jne 0x583bb6
mov eax, 0x68c634
mov ecx, dword [0x640cbc]
push ecx
push edi
push eax
lea ecx, [esp + 0x40]
call fcn.00501040
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x1e4], edi
call fcn.005e6f60
add esp, 4
test al, al
je 0x583c24
mov eax, dword [str.msw.remap]
cmp eax, edi
jne 0x583bee
mov eax, 0x68c634
mov ecx, dword [0x640cbc]
push ecx
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00501040
lea edx, [esp + 0x18]
mov ebx, 1
push edx
mov byte [esp + 0x1e4], 1
mov dword [esp + 0x20], ebx
call fcn.005e6f20
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x583c39
call fcn.005563b0
xor ecx, ecx
cmp eax, 8
setle cl
lea ecx, [ecx + ecx - 1]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1e0], edi
test bl, 1
je 0x583c60
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
je 0x583c60
dec eax
mov dword [ecx], eax
cmp eax, edi
jne 0x583c60
call fcn.004fff70
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x1e0], 0xffffffff
cmp eax, 0xffffffff
je 0x583c86
dec eax
mov dword [ecx], eax
cmp eax, edi
jne 0x583c86
call fcn.004fff70
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
cmp dword [esi + 0x194], edi
jbe 0x583cb1
mov eax, dword [esi + 0x114]
push 0
push 0
push 0x416
push eax
call ebx
inc edi
cmp edi, dword [esi + 0x194]
jb 0x583c96
mov eax, dword [esi + 0xcc]
xor edx, edx
shr eax, 7
mov dword [esp + 0x50], edx
test al, 1
je 0x583ccb
xor ecx, ecx
jmp 0x5842c9
mov edi, dword [esi + 0x184]
mov ecx, dword [esi + 0x18c]
mov ebx, dword [esi + 0x188]
mov dword [esp + 0x7c], edi
imul edi, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], edi
call fcn.00407c9a
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x1ec], 2
call fcn.0053d0d0
mov eax, dword [esp + 0x40]
mov byte [esp + 0x1e0], 3
test eax, eax
je 0x583d38
cmp dword [eax + 0x14], 0
je 0x583d38
lea ecx, [esp + 0x3c]
call fcn.005027c0
mov eax, dword [esp + 0x1b4]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x1b8]
call edx
cmp dword [esp + 0x20], 2
je 0x583dc0
lea eax, [esp + 0x1bc]
push eax
mov ecx, esi
call fcn.00541b50
push 0x64
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1e8], 4
call fcn.00553030
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1e4], 5
call fcn.00550e40
lea ecx, [esp + 0x48]
mov byte [esp + 0x1e0], 4
call fcn.00535e30
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x1e0], 3
call fcn.00535e30
lea ecx, [esp + 0xb4]
call fcn.0054fde0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x583dcb
mov eax, dword [eax + 0x14]
cmp dword [esp + 0x20], 0
mov ebx, eax
mov dword [esi + 0x18c], eax
mov dword [esp + 0x1c], ebx
jne 0x583e56
mov eax, dword [0x6e48fc]
test eax, eax
je 0x583df7
cmp dword [eax + 0x14], 0
je 0x583df7
mov ecx, 0x6e48f8
call fcn.005027c0
mov edx, dword [esp + 0x1b4]
mov eax, dword [edx + 8]
push 0x6e48f8
lea ecx, [esp + 0x1b8]
call eax
mov ecx, dword [esp + 0x80]
push ecx
push edi
push ebx
call fcn.00582f50
mov ebx, eax
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x583e3e
cmp dword [eax + 0x14], 0
je 0x583e3e
lea ecx, [esp + 0x3c]
call fcn.005027c0
mov eax, dword [esp + 0x1b4]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x1b8]
call edx
xor eax, eax
mov ecx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], eax
call fcn.00583230
mov eax, dword [esi + 0x160]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x584155
lea esp, [esp]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xc], 1
mov dword [esp + 0x34], ecx
jne 0x584146
mov eax, dword [ecx + 0x24]
lea edi, [ecx + 0x20]
test eax, eax
jne 0x583ea1
mov dword [esp + 0x24], eax
jmp 0x583ea8
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x583eb0
xor ebx, ebx
jmp 0x583eb3
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x28], ebx
test eax, eax
je 0x583f14
cmp dword [eax + 0x14], 0
je 0x583f14
mov eax, dword [esi + 0x184]
sub eax, dword [esp + 0x24]
mov ecx, 0
cdq
sub eax, edx
sar eax, 1
sets cl
push 1
dec ecx
and ecx, eax
mov eax, dword [esi + 0x188]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov edx, 0
sets dl
dec edx
and eax, edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [edx + 0x104]
push ecx
push edi
lea ecx, [esp + 0xc4]
call eax
cmp dword [esi + 0x190], 0
je 0x58412c
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x58], vtable.wxObject.0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x583f3f
inc dword [eax + 4]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], vtable.wxBitmap.0
mov byte [esp + 0x1e0], 6
test eax, eax
je 0x583f5d
cmp dword [eax + 0x14], 0
jne 0x5840e9
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], vtable.wxImage.0
lea edx, [esp + 0x48]
push edx
mov ecx, edi
mov byte [esp + 0x1e4], 7
call fcn.0053c360
lea ecx, [esp + 0x64]
push ecx
push eax
mov byte [esp + 0x1e8], 8
call fcn.00581c60
add esp, 8
lea ecx, [esp + 0x48]
mov byte [esp + 0x1e0], 7
mov dword [esp + 0x48], vtable.wxObject.0
call fcn.005026b0
cmp dword [esp + 0x20], 1
jne 0x584079
xor ebx, ebx
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
jle 0x584079
jmp 0x583fd0
xor edi, edi
cmp dword [esp + 0x24], edi
mov dword [esp + 0x60], edi
jle 0x58406a
push 0x80
push ebx
push edi
lea ecx, [esp + 0x70]
call fcn.00531960
test al, al
je 0x58405b
push 0xe
call fcn.0053dc70
push 0xe
mov esi, eax
call fcn.0053dc70
push 0xe
mov edi, eax
call fcn.0053dc70
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, esi
call eax
mov edx, dword [edi]
movzx ecx, al
mov eax, dword [edx + 0x2c]
push ecx
mov ecx, edi
call eax
mov edx, dword [ebx]
movzx ecx, al
mov eax, dword [edx + 0x28]
push ecx
mov ecx, ebx
call eax
mov edx, dword [esp + 0x3c]
movzx ecx, al
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.00531580
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x34]
inc edi
cmp edi, dword [esp + 0x24]
mov dword [esp + 0x60], edi
jl 0x583fe0
inc ebx
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
jl 0x583fd0
mov dword [esp + 0x70], 0
push 0xffffffffffffffff
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e8], 9
mov dword [esp + 0x74], vtable.wxBitmap.0
call fcn.0053cc90
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1e4], 0xa
call fcn.00502790
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e0], 7
call fcn.00535e30
lea ecx, [esp + 0x64]
mov byte [esp + 0x1e0], 6
mov dword [esp + 0x64], vtable.wxObject.0
call fcn.005026b0
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x20], 1
jne 0x584106
test eax, eax
je 0x5840f7
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push eax
call fcn.00582f50
add esp, 0xc
mov ecx, dword [esi + 0x190]
push 0x6e48f8
lea edx, [esp + 0x5c]
push edx
call fcn.00590340
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e0], 3
call fcn.00535e30
mov eax, dword [esi + 0x184]
add dword [esp + 0x18], eax
inc dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x583e80
mov eax, dword [0x6e48fc]
test eax, eax
je 0x58416e
cmp dword [eax + 0x14], 0
je 0x58416e
mov ecx, 0x6e48f8
call fcn.005027c0
mov edx, dword [esp + 0x1b4]
mov eax, dword [edx + 8]
push 0x6e48f8
lea ecx, [esp + 0x1b8]
call eax
lea ecx, [esp + 0x3c]
call fcn.005027c0
cmp dword [esp + 0x20], 1
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x14], 0
jne 0x5841b5
mov edx, dword [esp + 0x80]
push edx
push edi
push ebx
call fcn.00582f50
add esp, 0xc
mov ebx, eax
mov edi, dword [esp + 0x38]
test edi, edi
je 0x584222
call fcn.0052e4d0
cmp eax, 0x190
jl 0x584218
mov eax, dword [esp + 0x44]
xor ecx, ecx
lea edx, [esp + 0x1bc]
push edx
push ecx
mov dword [esp + 0x1d4], eax
mov eax, dword [esi + 0x114]
push 0x42e
mov dword [esp + 0x1d4], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], edi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x58424c
mov eax, dword [esi + 0x194]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x48]
push ecx
push edx
push 0x413
mov dword [esp + 0x58], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov dword [esp + 0x58], 0
call ebx
call fcn.0052e4d0
cmp eax, 0x1d6
jl 0x584285
mov eax, dword [esi + 0x190]
test eax, eax
je 0x584267
mov ecx, dword [eax + 8]
jmp 0x584269
xor ecx, ecx
mov eax, dword [esi + 0x114]
push ecx
push 0
push 0x436
push eax
call ebx
test eax, eax
je 0x584285
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e0], 2
call fcn.00535e30
lea ecx, [esp + 0xb4]
mov dword [esp + 0x1e0], 0xffffffff
mov dword [esp + method.wxMemoryDCBase.virtual_0], vtable.wxMemoryDCBase.0
call fcn.005512f0
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x114]
movzx edx, dx
movzx ecx, cx
shl edx, 0x10
or edx, ecx
push edx
push 0
push 0x420
push eax
call ebx
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005a51fc
mov edi, eax
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x38], edi
call fcn.00504ce0
mov eax, dword [esi + 0x160]
mov dword [esp + 0x1e0], 0xb
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x5844cc
add edi, 8
test dword [esi + 0xcc], 0x4008
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
je 0x58436a
cmp dword [ebx + 0xc], 2
jne 0x58436a
call fcn.0052e4d0
cmp eax, 0x1d8
jle 0x5844b5
xor eax, eax
mov dword [edi - 8], eax
mov dword [edi - 4], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
xor cl, cl
sub eax, 1
je 0x5843a4
sub eax, 1
je 0x584398
sub eax, 1
jne 0x5844aa
mov edx, dword [ebx + 0x10]
mov dword [edi - 4], edx
mov byte [edi], 4
mov byte [edi + 1], 1
jmp 0x5844aa
mov eax, dword [esi + 0xcc]
shr eax, 7
test al, 1
jne 0x5843b8
mov edx, dword [esp + 0x50]
mov dword [edi - 8], edx
mov eax, dword [esi + 0xcc]
shr eax, 8
test al, 1
je 0x5843d1
mov eax, dword [ebx + 0x30]
cmp dword [eax - 8], 0
je 0x5843d1
mov dword [edi + 8], eax
mov edx, dword [ebx + 0x10]
mov dword [edi - 4], edx
cmp byte [ebx + 0x1d], 0
je 0x5843e0
or byte [edi], 4
cmp byte [ebx + 0x1c], 0
je 0x5843e9
or byte [edi], 1
mov eax, dword [ebx + 0x14]
sub eax, 0
je 0x5844a2
sub eax, 1
je 0x58449c
sub eax, 1
jne 0x5844a2
mov byte [edi + 1], 6
cmp byte [esp + 0x17], al
jne 0x584434
or byte [edi], 1
push 1
mov ecx, ebx
call fcn.005807f0
test al, al
je 0x584498
mov eax, dword [esi]
mov edx, dword [eax + 0x370]
push 1
push ebx
mov ecx, esi
call edx
mov cl, 1
jmp 0x5844a6
cmp byte [ebx + 0x1c], 0
je 0x584498
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x584498
lea ecx, [edi - 0x14]
mov dword [esp + 0x1c], ecx
lea esp, [esp]
mov eax, dword [ebx + 8]
cmp dword [eax + 0xc], 1
mov dword [esp + 0x30], eax
jne 0x584498
cmp dword [eax + 0x14], 2
jne 0x584498
push 0
mov ecx, eax
call fcn.005807f0
test al, al
je 0x584483
mov edx, dword [esi]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x370]
push 0
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
and byte [eax], 0xfe
mov ebx, dword [ebx + 0x10]
sub eax, 0x14
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x584450
mov cl, 1
jmp 0x5844a6
mov byte [edi + 1], 2
jmp 0x5844a6
mov byte [edi + 1], 0
inc dword [esp + 0x50]
inc dword [esp + 0x18]
mov byte [esp + 0x17], cl
add edi, 0x14
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x584341
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x114]
push edi
push ecx
push 0x444
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.005a60f9
mov ebx, dword [esi + 0x160]
xor edi, edi
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x584759
lea esp, [esp]
mov eax, dword [ebx + 8]
cmp dword [eax + 0xc], 3
mov dword [esp + 0x18], eax
sete al
mov byte [esp + 0x17], al
test al, al
jne 0x584536
test dword [esi + 0xcc], 0x4008
je 0x584745
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x6c]
push edx
push edi
push 0x41d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x17], 0
jne 0x584566
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
add dword [esp + 0x24], eax
jmp 0x584745
mov edi, dword [esp + 0x18]
mov ebx, dword [edi + 0x18]
mov edx, dword [ebx]
mov edx, dword [edx + 0x218]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x20], 0xffffffff
call fcn.0052e4d0
cmp eax, 0x1d7
jl 0x5845dd
mov ax, word [esp + 0x30]
mov ecx, dword [esi + 0x114]
lea edx, [esp + 0x94]
push edx
mov word [esp + 0xaa], ax
mov eax, dword [edi + 0x10]
push eax
push 0x440
push ecx
mov dword [esp + 0xa4], 0x20
mov dword [esp + 0xa8], 0x40
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x584692
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
sub edi, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x30]
cdq
idiv edi
mov byte [esp + 0x1c4], 4
mov byte [esp + 0x1c5], 1
mov dword [esp + 0x38], eax
test eax, eax
jbe 0x58466e
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x1bc]
push ecx
push edx
push 0x443
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
add dword [esp + 0x28], eax
sub dword [esp + 0x1c], eax
jne 0x584640
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebx]
inc eax
imul eax, edi
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0x228]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebx
call eax
mov edi, dword [esp + 0x78]
sub edi, dword [esp + 0x70]
mov eax, edi
sub eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jns 0x5846c6
mov edx, dword [ebx]
mov edx, dword [edx + 0x228]
push 0
lea eax, [edi - 2]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebx
call edx
mov dword [esp + 0x1c], 2
test dword [esi + 0xcc], 0x4008
je 0x584700
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
mov edx, dword [edx + 0x334]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov dword [esp + 0x24], 0
call edx
mov eax, dword [esp + 0x4c]
lea ecx, [edi + eax*2]
add dword [esp + 0x24], ecx
jmp 0x584717
cmp dword [esp + 0x20], 0xffffffff
jne 0x58470f
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [ebx]
inc eax
cdq
push 0
sub eax, edx
mov edx, dword [edi + 0x228]
push 0xffffffffffffffff
sar eax, 1
add eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
push ecx
mov ecx, ebx
call edx
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov ebx, dword [ebx + 0xc]
inc edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
test ebx, ebx
jne 0x584510
test dword [esi + 0xcc], 0x4008
mov dword [esi + 0x194], edi
jne 0x584778
cmp dword [esi + 0x174], 0
jne 0x584793
push 1
jmp 0x584787
test edi, edi
jbe 0x584793
mov dword [esi + 0x174], 1
push edi
mov eax, dword [esi]
mov edx, dword [eax + 0x340]
mov ecx, esi
call edx
mov ecx, esi
call fcn.0053ee60
mov ecx, esi
call fcn.00582b70
lea ecx, [esp + 0x88]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.00504cf0
mov al, 1
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.005acc10
mov esp, ebp
pop ebp
ret