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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170e66
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x58], ebx
sub esp, 0x1c
lea eax, [ebp - 0x39]
mov esi, esp
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, esi
push 9
push str.group_top
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x168]
call fcn.100ca870
mov dword [ebx + 0x28], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 1
mov ecx, esi
push 7
push str.btn_min
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x28]
call fcn.100ca870
mov dword [ebx + 0x2c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 2
mov ecx, esi
push 7
push str.btn_max
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x28]
call fcn.100ca870
mov dword [ebx + 0x30], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 3
mov ecx, esi
push 9
push str.btn_close
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x28]
call fcn.100ca870
mov dword [ebx + 0x34], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 4
mov ecx, esi
push 0xa
push str.group_time
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x168]
call fcn.100ca870
mov dword [ebx + 0x40], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 5
push 0x12
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
push str.text_winners_label
mov ecx, esi
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x40]
call fcn.100ca870
mov dword [ebx + 0x4c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 6
mov ecx, esi
push 0xf
push str.text_time_label
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x40]
call fcn.100ca870
mov dword [ebx + 0x50], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 7
mov ecx, esi
push 9
push str.text_time
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x40]
call fcn.100ca870
mov dword [ebx + 0x48], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
push 0xf
push str.text_event_name
mov ecx, esi
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x40]
call fcn.100ca870
mov dword [ebx + 0x54], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 9
mov ecx, esi
push 0xf
push str.text_event_zone
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x40]
call fcn.100ca870
mov dword [ebx + 0x3c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xa
mov ecx, esi
push 0xc
push str.text_winners
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x40]
call fcn.100ca870
mov dword [ebx + 0x44], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xb
mov ecx, esi
push 0xe
push str.group_middle_0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x168]
call fcn.100ca870
mov dword [ebx + 0x70], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xc
mov ecx, esi
push 5
push str.items
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x168]
call fcn.100ca870
mov dword [ebx + 0x84], eax
lea edi, [ebx + 0x58]
xor ecx, ecx
lea eax, [ebx + 0x90]
mov dword [ebp - 0x40], ecx
add ebx, 0xfc
mov dword [ebp - 0x54], eax
sub esp, 0x1c
mov dword [ebp - 0x38], 0x76627507
mov esi, esp
mov dword [ebp - 0x34], 0x66736e72
mov dword [ebp - 0x30], 0x6322586b
xor eax, eax
mov byte [ebp - 0x2c], 0
push ecx
mov cl, 7
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xb
jae 0x10052296
mov cl, byte [ebp - 0x38]
jmp 0x10052287
sub esp, 0x1c
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov eax, dword [ebp - 0x58]
add esp, 0x24
push dword [eax + 0x84]
call fcn.100ca870
mov dword [edi], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x39]
mov dword [ebp - 0x64], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x68], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xd
mov ecx, esi
push 0x10
push str.txt_return_first
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi]
mov dword [ebp - 0x68], 0
call fcn.100ca870
mov dword [ebx - 4], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x59]
mov dword [ebp - 0x6c], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xe
mov ecx, esi
push 0x11
push str.txt_return_second
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi]
mov dword [ebp - 0x70], 0
call fcn.100ca870
sub esp, 0x1c
mov dword [ebx], eax
mov esi, esp
lea eax, [ebp - 0x5a]
mov dword [ebp - 0x74], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
mov dword [eax], esi
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x78], eax
mov dword [esi], eax
mov dword [ebp - 4], 0xf
mov ecx, esi
push 8
push str.txt_rate
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi]
mov dword [ebp - 0x78], 0
call fcn.100ca870
mov dword [ebx + 4], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x5b]
mov dword [ebp - 0x7c], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x80], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x10
mov ecx, esi
push 4
push str.icon
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi]
mov dword [ebp - 0x80], 0
call fcn.100ca870
mov dword [ebx + 8], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x84], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x88], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x11
mov ecx, esi
push 0xa
push str.btn_return
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi]
mov dword [ebp - 0x88], 0
call fcn.100ca870
sub esp, 0x1c
mov dword [ebx + 0xc], eax
mov esi, esp
mov cl, 0x65
push dword [ebp - 0x40]
mov dword [ebp - 0x28], 0xa170265
xor eax, eax
mov dword [ebp - 0x24], 0x403a1510
mov word [ebp - 0x20], 1
nop word [eax + eax]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 8
jae 0x1005256f
mov cl, byte [ebp - 0x28]
jmp 0x10052560
sub esp, 0x1c
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.100461a0
push esi
call fcn.100492e0
mov eax, dword [ebp - 0x58]
add esp, 0x24
push dword [eax + 0x168]
call fcn.100ca870
mov dword [edi + 0xc], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x5d]
mov dword [ebp - 0x8c], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x90], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x12
mov ecx, esi
push 0xf
push str.txt_needs_first
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0xc]
mov dword [ebp - 0x90], 0
call fcn.100ca870
mov ecx, dword [ebp - 0x54]
sub esp, 0x1c
mov esi, esp
mov dword [ecx + 8], eax
lea eax, [ebp - 0x5e]
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x94], eax
call fcn.10047940
add esp, 4
mov dword [ebp - 0x98], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x13
mov ecx, esi
push 0x10
push str.txt_needs_second
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0xc]
mov dword [ebp - 0x98], 0
call fcn.100ca870
mov ecx, dword [ebp - 0x54]
sub esp, 0x1c
mov esi, esp
mov dword [ecx], eax
lea eax, [ebp - 0x5f]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x18], eax
push 8
call fcn.10047940
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x14
mov ecx, esi
push 4
push str.icon
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0xc]
mov dword [ebp - 0x1c], 0
call fcn.100ca870
mov ecx, dword [ebp - 0x54]
sub esp, 0x1c
mov esi, esp
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x4d]
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x44], eax
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x15
mov ecx, esi
push 9
push str.btn_needs
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0xc]
mov dword [ebp - 0x48], 0
call fcn.100ca870
mov edx, dword [ebp - 0x54]
add edi, 4
mov ecx, dword [ebp - 0x40]
add ebx, 0x28
inc ecx
mov dword [ebp - 0x40], ecx
mov dword [edx + 0x10], eax
add edx, 0x20
mov dword [ebp - 0x54], edx
cmp ecx, 3
jl 0x10052264
sub esp, 0x1c
lea eax, [ebp - 0x4d]
mov esi, esp
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x16
mov ecx, esi
push 0xe
push str.group_middle_1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x84]
call fcn.100ca870
mov dword [ebx + 0x74], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x4d]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x17
mov ecx, esi
push 5
push str.bases
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x168]
call fcn.100ca870
mov dword [ebx + 0x38], eax
mov edi, 1
lea eax, [ebx + 0x78]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x58], eax
nop word [eax + eax]
sub esp, 0x1c
mov dword [ebp - 0x1c], 0x1b090a68
mov dword [ebp - 0x54], esp
mov cl, 0x68
mov dword [ebp - 0x18], 0xc4d370d
xor eax, eax
mov byte [ebp - 0x14], 0
push edi
nop dword [eax]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 7
jae 0x1005290f
mov cl, byte [ebp - 0x1c]
jmp 0x10052900
sub esp, 0x1c
mov byte [ebp - 0x14], 0
mov esi, esp
lea eax, [ebp - 0x60]
mov dword [ebp - 0x44], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x1b]
mov dword [esi + 0x14], 0
lea edx, [ecx + 1]
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10052970
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, esi
call fcn.10046d30
push dword [ebp - 0x54]
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
call fcn.100492e0
add esp, 0x24
push dword [ebx + 0x38]
call fcn.100ca870
mov edx, dword [ebp - 0x58]
inc edi
mov dword [edx], eax
add edx, 4
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x58], edx
jne 0x100528e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret