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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xb4]
push esi
push edi
test eax, eax
jne 0x446242
mov ecx, dword [ebx + 0xb0]
cmp dword [ecx], 1
jne 0x446249
test dword [ebx + 0x70], 0x100
jne 0x446242
lea eax, [ebx + 0x98]
push ebx
mov ecx, 0x488b74
call fcn.0043e650
mov ecx, dword [ebx]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x445d63
lea esi, [esp + 0x30]
call fcn.004277c0
test eax, eax
je 0x445d67
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, edx
add ecx, 0x80000000
adc eax, edi
cmp eax, edi
ja 0x445d67
jb 0x445d5f
cmp ecx, 0xffffffff
ja 0x445d67
cmp edx, edi
jne 0x445d67
or dword [ebx + 0x70], 0x40
mov edx, dword [ebx + 0x38]
push edi
push 0x57
push edx
call fcn.0043b6c0
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x445dd0
cmp dword [esi], edi
je 0x445d84
or dword [ebx + 0x70], 0x10
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x445dae
cmp dword [ecx + 4], 0x102
je 0x445da2
cmp dword [esi], edi
je 0x445da2
call fcn.00427820
mov dword [ebx + 0x68], eax
jmp 0x445db5
or dword [ebx + 0x70], 0x80
mov dword [ebx + 0x68], edi
jmp 0x445db5
mov dword [ebx + 0x68], 0xffffffff
push edi
lea eax, [esp + 0x18]
push 0x486aa0
push eax
mov dword [esp + 0x20], esi
call fcn.0041a100
add esp, 0xc
or dword [ebx + 0x70], 1
mov ecx, dword [ebx + 0x38]
push edi
push 0x297
push ecx
call fcn.0043b6c0
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x445e4a
test byte [ebx + 0x70], 0x10
jne 0x445e0e
push 0x55
mov eax, ebx
call fcn.0043beb0
add esp, 4
test eax, eax
jns 0x445e0e
push 0x56
mov eax, ebx
call fcn.0043beb0
add esp, 4
test eax, eax
js 0x445e15
or dword [ebx + 0x70], 0x80
mov ecx, dword [esi]
cmp ecx, edi
je 0x445e25
call fcn.00427820
mov dword [ebx + 0x6c], eax
jmp 0x445e2c
mov dword [ebx + 0x6c], 0xffffffff
push edi
lea edx, [esp + 0x1c]
push 0x485720
push edx
mov dword [esp + 0x24], esi
call fcn.0041a100
add esp, 0xc
or dword [ebx + 0x70], 0x400
mov eax, dword [ebx + 0x38]
push edi
push 0x53
push eax
call fcn.0043b6c0
add esp, 0xc
cmp eax, edi
je 0x445e9b
cmp dword [eax], edi
jle 0x445e80
mov ecx, dword [eax + 8]
movzx ecx, byte [ecx]
mov dword [ebx + 0x74], ecx
cmp dword [eax], 1
jle 0x445e83
mov edx, dword [eax + 8]
movzx edx, byte [edx + 1]
shl edx, 8
or edx, ecx
mov dword [ebx + 0x74], edx
jmp 0x445e83
mov dword [ebx + 0x74], edi
or dword [ebx + 0x70], 2
mov ecx, dword [eax + 0xc]
and ecx, 0x80
push ecx
mov edi, eax
call fcn.00425e40
add esp, 4
mov edx, dword [ebx + 0x38]
push 0
push 0x7e
push edx
mov dword [ebx + 0x78], 0
call fcn.0043b6c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x445f71
or dword [ebx + 0x70], 4
xor edi, edi
mov dword [esp + 0xc], edi
call fcn.00441fc0
test eax, eax
jle 0x445f64
test edi, edi
js 0x445ee3
cmp edi, dword [esi]
jge 0x445ee3
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
jmp 0x445ee5
xor eax, eax
push eax
call fcn.00428410
add esp, 4
cmp eax, 0xb4
jg 0x445f32
je 0x445f2c
sub eax, 0x81
cmp eax, 0xa
ja case.0x445f01.134
jmp dword [eax*4 + 0x446254]
or dword [ebx + 0x78], 1
jmp case.0x445f01.134
or dword [ebx + 0x78], 2
jmp case.0x445f01.134
or dword [ebx + 0x78], 4
jmp case.0x445f01.134
or dword [ebx + 0x78], 8
jmp case.0x445f01.134
or dword [ebx + 0x78], 0x10
jmp case.0x445f01.134
or dword [ebx + 0x78], 0x40
jmp case.0x445f01.134
or dword [ebx + 0x78], 0x20
jmp case.0x445f01.134
cmp eax, 0x129
je 0x445f49
cmp eax, 0x38e
jne case.0x445f01.134
or dword [ebx + 0x78], 0x100
jmp case.0x445f01.134
or dword [ebx + 0x78], 0x80
mov eax, esi
inc edi
call fcn.00441fc0
cmp edi, eax
jl 0x445ed3
mov dword [esp + 0xc], edi
push fcn.004268e0
call fcn.0041de00
add esp, 4
mov ecx, dword [ebx + 0x38]
push 0
push 0x47
push ecx
call fcn.0043b6c0
add esp, 0xc
test eax, eax
je 0x445fb4
cmp dword [eax], 0
jle 0x445f95
mov edx, dword [eax + 8]
movzx ecx, byte [edx]
mov dword [ebx + 0x7c], ecx
jmp 0x445f9c
mov dword [ebx + 0x7c], 0
or dword [ebx + 0x70], 8
mov edx, dword [eax + 0xc]
and edx, 0x80
push edx
mov edi, eax
call fcn.00425e40
add esp, 4
mov eax, dword [ebx + 0x38]
push 0
push 0x52
push eax
call fcn.0043b6c0
mov ecx, dword [ebx + 0x38]
add esp, 0xc
push 0
push 0x5a
push ecx
mov dword [ebx + 0x80], eax
call fcn.0043b6c0
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x1c]
add esp, 0xc
call fcn.0043bf00
test eax, eax
jne 0x44601c
mov edx, dword [ebx + 0x84]
or dword [ebx + 0x70], 0x20
push edx
push ebx
call fcn.004465b0
add esp, 8
test eax, eax
jne 0x44601c
mov eax, dword [ebx + 0x70]
test al, 2
je 0x446014
test byte [ebx + 0x74], 4
je 0x44601c
or eax, 0x2000
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x38]
push 0
push 0x55
push eax
call fcn.0043b6c0
mov edx, dword [ebx + 0x38]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x29a
push edx
mov dword [ebx + 0x90], eax
call fcn.0043b6c0
add esp, 0xc
mov dword [ebx + 0x94], eax
test eax, eax
jne 0x446060
cmp dword [esp + 0xc], 0xffffffff
je 0x446060
or dword [ebx + 0x70], 0x80
mov edi, ebx
call fcn.00445c70
xor edx, edx
mov eax, ebx
mov dword [esp + 0xc], edx
call fcn.0043bea0
test eax, eax
jle 0x446226
mov esi, dword [0x4db354]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4460ab
mov ecx, dword [eax]
cmp ecx, edx
jle 0x4460ab
test edx, edx
js 0x4460ab
cmp edx, ecx
jge 0x44609f
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
jmp 0x4460a1
xor eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4460b7
jmp 0x4460b9
mov dword [esp + 0x10], 0
xor eax, eax
jmp 0x4460b9
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x446135
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4460cc
mov eax, ecx
jmp 0x446123
cmp dword [eax + 0xc], 0
je 0x446135
test esi, esi
je 0x446106
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esi + 0x60], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x44], eax
mov edi, esi
call fcn.00421510
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x44615a
inc dword [edi + 0x58]
mov esi, dword [0x4db354]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004283c0
add esp, 4
test eax, eax
je 0x446131
mov eax, dword [eax]
lea edx, [eax + eax*2]
mov eax, dword [edx*8 + 0x48a6f8]
cmp eax, 0x359
jne 0x446131
or dword [ebx + 0x70], 0x1000
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x446209
cmp dword [eax + 4], 0
jle 0x446209
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x446171
jmp 0x4461f0
mov eax, dword [eax]
inc dword [edi + 0x54]
test eax, eax
je 0x446100
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov esi, dword [0x4db354]
jmp 0x446123
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x44617c
mov eax, ecx
jmp 0x4461f0
cmp dword [eax + 0xc], 0
jne 0x446186
xor eax, eax
jmp 0x4461f0
test esi, esi
je 0x4461ba
xor ecx, ecx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esi + 0x60], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
mov edi, esi
call fcn.00421510
mov eax, dword [eax]
add esp, 8
test eax, eax
jne 0x4461cd
inc dword [edi + 0x58]
mov esi, dword [0x4db354]
lea eax, [esp + 0x20]
push eax
call fcn.004283c0
add esp, 4
test eax, eax
jne 0x4461e4
jmp 0x4461f0
mov eax, dword [eax]
inc dword [edi + 0x54]
test eax, eax
je 0x4461b4
mov edx, dword [eax + 4]
mov eax, dword [edx + 8]
mov esi, dword [0x4db354]
jmp 0x4461f0
mov eax, dword [eax]
lea ecx, [eax + eax*2]
mov eax, dword [ecx*8 + 0x48a6f8]
mov dword [esp + 0x24], eax
test eax, eax
je 0x44621f
lea eax, [esp + 0x24]
call fcn.00445b80
test eax, eax
je 0x44621f
mov edx, dword [esp + 0xc]
inc edx
mov eax, ebx
mov dword [esp + 0xc], edx
call fcn.0043bea0
cmp edx, eax
jl 0x446082
jmp 0x446226
or dword [ebx + 0x70], 0x200
mov edx, dword [ebx + 0xb0]
or dword [ebx + 0x70], 0x100
cmp dword [edx], 1
jne 0x446249
mov dword [ebx + 0xb4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.assertion_failed:__unsigned_int__lock__1
call fcn.00423470
nop
or byte [edi + 0x44], bl
add byte [esi], cl
pop edi
inc esp
add byte [edx], bl
pop edi
inc esp
add byte [edi + ebx*2], dl
inc esp
add byte [esi], ah
pop edi
inc esp
add byte [eax + 0x5f], dl
inc esp
add byte [eax + 0x5f], dl
inc esp
add byte [eax + 0x5f], dl
inc esp
add byte [eax], ah
pop edi
inc esp
add byte [eax + 0x5f], dl
inc esp
add byte [eax], ah
pop edi
inc esp
add byte [ebx - 0x37748fbe], cl
mov eax, dword [edx + 0x70]
mov ecx, eax