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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], esp
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xb4], 0x42b5f0
mov ebx, edx
call 0x41ece8
pop eax
lea edx, [esi + 0xb0]
mov edi, dword fs:[0]
mov dword [esi + 0xc], eax
mov dword [esi + 0xb0], edi
mov dword fs:[0], edx
mov edx, dword [ebp + 8]
lock inc dword [0x44b9c4]
jle 0x41f38d
mov edi, ecx
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x18], 0
jne 0x41f409
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0x440fbc
mov dword [esi + 0x44], edx
inc dword [eax + 0x14]
mov byte [eax + 0x18], 1
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x48], eax
movzx eax, byte [ebp + 0x10]
mov byte [esi + 0x4c], al
movzx eax, byte [ebp + 0x14]
mov byte [esi + 0x4d], al
mov eax, dword [0x44b958]
cmp eax, 0x3ffffffd
ja 0x41ed8e
lea ecx, [eax + 1]
lock cmpxchg dword [0x44b958], ecx
je 0x41ed93
call fcn.0043ad20
movzx eax, byte [0x44b960]
cmp dword [0x44b964], 0
mov eax, dword [ebx + 0x10]
jne 0x41ee38
mov byte [esi + 3], 1
mov dword [esi + 0xb8], 0
push edi
call eax
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov bl, 3
cmp byte [esi + 0x4d], 0
jne 0x41ef84
mov edi, edx
mov edx, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov bl, 1
mov ecx, dword [ecx + edx*4]
mov edx, edi
cmp dword [ecx + 0x14], 1
ja 0x41ef84
movzx eax, byte [0x44b954]
mov bl, 1
movzx eax, al
mov eax, dword [eax*4 + 0x41f670]
add eax, dword [esi + 0xc]
jmp eax
mov byte [esi + 3], 1
mov dword [esi + 0xb8], 0
push edi
call eax
add esp, 4
mov dword [esi + 0x3c], eax
mov eax, dword [0x44b964]
mov ecx, dword [0x44b968]
mov dword [esi + 0x40], edx
lea edx, [esi + 0x3c]
mov byte [esi + 3], 1
push edx
push eax
call dword [ecx + 0x14]
add esp, 8
mov ecx, 0xffffffff
lock xadd dword [0x44b958], ecx
dec ecx
mov eax, ecx
and eax, 0xbfffffff
cmp eax, 0x80000000
jne 0x41ee9b
mov byte [esi + 3], 0
mov dword [esi + 0xb8], 0
call fcn.0043ac70
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
cmp byte [ebp + 0x10], 0
mov eax, dword [ecx + eax*4]
mov dword [esi + 0xb8], 0
mov byte [eax + 0x18], 0
je 0x41eecf
mov byte [esi + 3], 0
call fcn.0041d010
jmp 0x41f102
lea eax, [esi + 0x1c]
mov dword [esi + 0x34], 0
mov dword [esi + 0x1c], 0x441084
mov dword [esi + 0x20], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 4
mov byte [esi + 0x38], 0
mov dword [esi + 0x28], 0
mov byte [esi + 3], 0
lea ecx, [esi + 0x58]
lea edx, [esi + 0x34]
push eax
call fcn.004132b0
add esp, 4
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov byte [esi + 3], 0
call fcn.00413410
mov ecx, 7
int 0x29
ud2
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x18], edx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x84], ecx
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0xc]
mov byte [esi + 3], 1
lea ecx, [esi + 0x98]
push eax
push ecx
call edx
mov edi, dword [esi + 4]
add esp, 8
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x9c]
xor eax, 0x57a64178
xor ecx, 0xb98b1b71
or ecx, eax
jne 0x41f021
mov ecx, dword [esi + 0xa4]
mov edx, dword [esi + 0xa0]
mov eax, 4
xor edx, 0xd6cb5d6d
xor ecx, 0x63eb502c
or ecx, edx
mov ecx, edi
jne 0x41f021
mov ecx, dword [ecx]
mov eax, dword [edi + eax]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movzx eax, byte [eax + 0x20]
test eax, eax
je 0x41f08d
cmp eax, 1
je 0x41f0c6
jmp 0x41f10c
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x88]
mov eax, dword [eax + 0xc]
mov byte [esi + 3], 1
push edi
push ecx
call eax
add esp, 8
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
xor eax, 0xef632083
xor ecx, 0x754ec6fc
or ecx, eax
mov eax, 0xc
mov ecx, str.Box_dyn_Any__unnamed_thread__panicked_at_:_n
jne 0x41eff3
mov edx, dword [esi + 0x94]
mov edi, dword [esi + 0x90]
xor edi, 0x12392d14
xor edx, 0x6b044594
or edx, edi
jne 0x41eff3
mov edi, dword [esi + 4]
mov eax, 8
lea ecx, [edi + 4]
jmp 0x41efee
mov byte [esi + 3], 1
mov edx, 0x413570
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea ecx, [eax + 0x1c]
call fcn.00413590
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x20], 1
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x41f0fd
mov byte [esi + 3], 1
call fcn.0043a6f0
mov eax, dword [0x44b9cc]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x1c]
lock inc dword [edx]
jg 0x41f104
ud2
test edx, edx
jne 0x41f1e9
mov dword [esi + 0x74], 0
mov dword [esi + 0x18], 0
mov eax, 9
mov ecx, 0x440ec8
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], eax
lea eax, [esi + 0x50]
mov dword [esi + 0x58], 0x440eec
mov dword [esi + 0x5c], 4
mov dword [esi + 0x68], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0xb8], 1
lea ecx, [esi + 0x34]
lea edx, [esi + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x84]
mov dword [esi + 0x20], 0x402760
mov dword [esi + 0x24], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x28], 0x41e9e0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x1c]
mov dword [esi + 0x30], 0x402760
mov dword [esi + 0x60], eax
lea eax, [esi + 0x58]
mov dword [esi + 0x64], 3
push eax
call fcn.004132b0
add esp, 4
cmp byte [esi + 0x34], 3
jne 0x41f22a
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
mov dword [esi + 4], eax
mov eax, dword [eax + 4]
mov dword [esi + 0xb8], 5
mov dword [esi + 0x70], ecx
push ecx
mov dword [esi + 0x80], eax
call dword [eax]
add esp, 4
mov eax, dword [esi + 0x80]
cmp dword [eax + 4], 0
je 0x41f222
mov edx, dword [eax + 8]
cmp edx, 9
jae 0x41f21a
mov ecx, dword [esi + 0x70]
call fcn.00425a4f
jmp 0x41f222
mov dword [esi + 0x74], edx
mov dword [esi + 0x18], edx
mov eax, dword [edx + 0x10]
test eax, eax
je 0x41f20b
cmp eax, 2
je 0x41f11a
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x14]
dec eax
jmp 0x41f124
mov eax, 4
mov ecx, str.main
jmp 0x41f124
mov ecx, dword [esi + 0x70]
call fcn.00425a64
mov ecx, dword [esi + 4]
call fcn.00425a4f
movzx eax, byte [esi + 8]
mov ecx, dword [esi + 0xc]
add ecx, dword [eax*4 + 0x41f680]
jmp ecx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x58], 1
mov dword [esi + 0x5c], 0x440fbc
mov dword [esi + 0x60], edx
mov dword [esi + 0x1c], 0x441000
mov dword [esi + 0x20], 2
mov dword [esi + 0x2c], 0
lea ecx, [esi + 0x34]
lea edx, [esi + 0x50]
mov dword [esi + 0x50], 0
mov byte [esi + 0x54], 0
mov dword [esi + 0x64], eax
movzx eax, byte [ebp + 0x10]
mov byte [esi + 0x68], al
movzx eax, byte [ebp + 0x14]
mov byte [esi + 0x69], al
lea eax, [esi + 0x58]
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x3c]
mov dword [esi + 0x40], 0x403390
mov dword [esi + 0x24], eax
lea eax, [esi + 0x1c]
mov dword [esi + 0x28], 1
push eax
call fcn.004132b0
add esp, 4
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
jmp 0x41f4bb
test edx, edx
je 0x41f434
mov ebx, dword [edx + 4]
mov edi, dword [edx + 0xc]
cmp ebx, 1
je 0x41f42c
test ebx, ebx
jne 0x41f434
test edi, edi
jne 0x41f434
mov edx, 1
xor edi, edi
jmp 0x41f4d0
test edi, edi
je 0x41f4c9
xor edx, edx
mov dword [esi + 0x78], 0
mov dword [esi + 0x58], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0x440fbc
mov dword [esi + 0x44], edx
mov dword [esi + 0x1c], 0x441044
mov dword [esi + 0x20], 2
mov dword [esi + 0x2c], 0
lea ecx, [esi + 0x50]
lea edx, [esi + 0x10]
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x48], eax
movzx eax, byte [ebp + 0x10]
mov byte [esi + 0x4c], al
movzx eax, byte [ebp + 0x14]
mov byte [esi + 0x4d], al
lea eax, [esi + 0x3c]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x38], 0x403390
mov dword [esi + 0x24], eax
lea eax, [esi + 0x1c]
mov dword [esi + 0x28], 1
push eax
call fcn.004132b0
add esp, 4
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
call fcn.00413410
mov ecx, 7
int 0x29
ud2
mov eax, dword [edx]
mov edx, dword [eax]
mov edi, dword [eax + 4]
lea eax, [esi + 0x78]
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], edi
lea edx, [esi + 0x58]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 1
mov dword [esi + 0x60], 4
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
jmp 0x41f444