Function at 0x405562
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
sub esp, 0x1c
xor esi, esi
mov dword [ebp - 0x10], ecx
xor edi, edi
xor ebx, ebx
mov ecx, esp
inc edi
mov dword [ebp - 0x14], ebx
push 0x446e68
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.004040fd
lea ecx, [ebp - 0x24]
call fcn.00405400
lea ecx, [ebp - 0x24]
call fcn.004016e7
cmp eax, esi
jne 0x4055b5
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x14]
jmp 0x406142
cmp eax, esi
mov dword [ebp - 8], esi
jbe 0x4055ad
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, edi
call fcn.0040431d
push 0x44751c
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405603
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 2
call fcn.0040431d
push 0x447514
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405607
mov byte [ebp - 1], 1
test bl, 2
je 0x405619
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffd
call fcn.00401f6b
test bl, 1
je 0x40562b
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffe
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x40563c
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 4
call fcn.0040431d
push 0x44750c
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405684
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 8
call fcn.0040431d
push 0x447504
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405688
mov byte [ebp - 1], 1
test bl, 8
je 0x40569a
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffff7
call fcn.00401f6b
test bl, 4
je 0x4056ac
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffb
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x4056bd
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x10
call fcn.0040431d
push 0x4474fc
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405705
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x20
call fcn.0040431d
push 0x4474f4
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405709
mov byte [ebp - 1], 1
test bl, 0x20
je 0x40571b
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xffffffdf
call fcn.00401f6b
test bl, 0x10
je 0x40572d
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xffffffef
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x40573e
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x40
call fcn.0040431d
push 0x4474ec
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405789
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x80
call fcn.0040431d
push 0x4474e4
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x40578d
mov byte [ebp - 1], 1
test bl, bl
jns 0x4057a1
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xffffff7f
call fcn.00401f6b
test bl, 0x40
je 0x4057b3
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xffffffbf
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x4057c4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x100
call fcn.0040431d
push 0x4474dc
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405812
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x200
call fcn.0040431d
push 0x4474d4
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405816
mov byte [ebp - 1], 1
test bx, 0x200
je 0x40582d
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffdff
call fcn.00401f6b
test bx, 0x100
je 0x405844
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfffffeff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405855
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x400
call fcn.0040431d
push 0x4474cc
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x4058a3
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x800
call fcn.0040431d
push 0x4474c4
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x4058a7
mov byte [ebp - 1], 1
test bx, 0x800
je 0x4058be
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xfffff7ff
call fcn.00401f6b
test bx, 0x400
je 0x4058d5
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfffffbff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x4058e6
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x1000
call fcn.0040431d
push 0x4474bc
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405934
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x2000
call fcn.0040431d
push 0x4474b4
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405938
mov byte [ebp - 1], 1
test bx, 0x2000
je 0x40594f
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xffffdfff
call fcn.00401f6b
test bx, 0x1000
je 0x405966
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xffffefff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405977
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x4000
call fcn.0040431d
push str._noupd
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x4059c5
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x8000
call fcn.0040431d
push 0x447494
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x4059c9
mov byte [ebp - 1], 1
test bx, bx
jns 0x4059de
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xffff7fff
call fcn.00401f6b
test bx, 0x4000
je 0x4059f5
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xffffbfff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405a06
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x10000
call fcn.0040431d
push str._forduba
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405a54
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x20000
call fcn.0040431d
push 0x44746c
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405a58
mov byte [ebp - 1], 1
test ebx, 0x20000
je 0x405a70
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xfffdffff
call fcn.00401f6b
test ebx, 0x10000
je 0x405a88
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfffeffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405a99
mov dword [0x455b00], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x40000
call fcn.0040431d
push str._renewkws
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405ae7
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x80000
call fcn.0040431d
push 0x447444
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405aeb
mov byte [ebp - 1], 1
test ebx, 0x80000
je 0x405b03
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xfff7ffff
call fcn.00401f6b
test ebx, 0x40000
je 0x405b1b
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfffbffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405b2c
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x100000
call fcn.0040431d
push str._asku
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405b7a
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x200000
call fcn.0040431d
push 0x44742c
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405b7e
mov byte [ebp - 1], 1
test ebx, 0x200000
je 0x405b96
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xffdfffff
call fcn.00401f6b
test ebx, 0x100000
je 0x405bae
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xffefffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405bbf
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x400000
call fcn.0040431d
push str._repair
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405c0d
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x800000
call fcn.0040431d
push str._repair
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405c11
mov byte [ebp - 1], 1
test ebx, 0x800000
je 0x405c29
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xff7fffff
call fcn.00401f6b
test ebx, 0x400000
je 0x405c41
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xffbfffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405c52
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x1000000
call fcn.0040431d
push 0x447414
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405ca0
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x2000000
call fcn.0040431d
push 0x44740c
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405ca4
mov byte [ebp - 1], 1
test ebx, 0x2000000
je 0x405cbc
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xfdffffff
call fcn.00401f6b
test ebx, 0x1000000
je 0x405cd4
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfeffffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405ce5
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x4000000
call fcn.0040431d
push 0x447404
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405d33
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x8000000
call fcn.0040431d
push 0x4473fc
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405d37
mov byte [ebp - 1], 1
test ebx, 0x8000000
je 0x405d4f
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xf7ffffff
call fcn.00401f6b
test ebx, 0x4000000
je 0x405d67
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xfbffffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405d78
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], edi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x10000000
call fcn.0040431d
push 0x4473f4
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405dc6
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x20000000
call fcn.0040431d
push 0x4473ec
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405dca
mov byte [ebp - 1], 1
test ebx, 0x20000000
je 0x405de2
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0xdfffffff
call fcn.00401f6b
test ebx, 0x10000000
je 0x405dfa
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xefffffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405e0b
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], esi
jmp 0x406081
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x40000000
call fcn.0040431d
push 0x4473e4
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405e59
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
or ebx, 0x80000000
call fcn.0040431d
push 0x4473dc
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405e5d
mov byte [ebp - 1], 1
test ebx, ebx
jns 0x405e71
push esi
push edi
lea ecx, [ebp - 0x5c]
and ebx, 0x7fffffff
call fcn.00401f6b
test ebx, 0x40000000
je 0x405e89
push esi
push edi
lea ecx, [ebp - 0x40]
and ebx, 0xbfffffff
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405e9a
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], edi
jmp 0x406081
push dword [ebp - 8]
or dword [ebp - 0xc], edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040431d
push str._maxtrans
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405ee3
push dword [ebp - 8]
or dword [ebp - 0xc], 2
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040431d
push 0x4473b4
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405ee7
mov byte [ebp - 1], 1
test byte [ebp - 0xc], 2
je 0x405efb
and dword [ebp - 0xc], 0xfffffffd
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401f6b
test byte [ebp - 0xc], 1
je 0x405f0f
and dword [ebp - 0xc], 0xfffffffe
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x405f20
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], edi
jmp 0x406081
push dword [ebp - 8]
or dword [ebp - 0xc], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040431d
push str._sdb
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405f6a
push dword [ebp - 8]
or dword [ebp - 0xc], 8
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040431d
push 0x44739c
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405f6e
mov byte [ebp - 1], 1
test byte [ebp - 0xc], 8
je 0x405f82
and dword [ebp - 0xc], 0xfffffff7
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401f6b
test byte [ebp - 0xc], 4
je 0x405f96
and dword [ebp - 0xc], 0xfffffffb
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.00401f6b
cmp byte [ebp - 1], 0
lea ecx, [ebp - 0x24]
jne 0x40609a
push dword [ebp - 8]
or dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x40]
push eax
call fcn.0040431d
push str._httpg
mov ecx, eax
call fcn.00401ecc
test eax, eax
je 0x405fea
push dword [ebp - 8]
or dword [ebp - 0xc], 0x20
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040431d
push 0x44737c
mov ecx, eax
call fcn.00401ecc
test eax, eax
mov byte [ebp - 1], 0
jne 0x405fee
mov byte [ebp - 1], 1
test byte [ebp - 0xc], 0x20
je 0x406002
and dword [ebp - 0xc], 0xffffffdf
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401f6b
test byte [ebp - 0xc], 0x10
je 0x406016
and dword [ebp - 0xc], 0xffffffef
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.00401f6b
cmp byte [ebp - 1], 0
je 0x406081
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
inc eax
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
mov dword [esi + 0x60], edi
call fcn.0040431d
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x64]
call fcn.00403692
push 0
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401f6b
mov esi, dword [ebp - 8]
add esi, 2
push esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040431d
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push 0
push eax
add ecx, 0x80
call fcn.00403692
push 0
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401f6b
mov dword [ebp - 8], esi
xor esi, esi
inc dword [ebp - 8]
lea ecx, [ebp - 0x24]
call fcn.004016e7
cmp dword [ebp - 8], eax
jb 0x4055bc
jmp 0x4055ad
mov eax, dword [ebp - 8]
inc eax
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040431d
mov esi, dword [ebp - 0x10]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
add esi, 0xa0
push eax
mov ecx, esi
call fcn.00403692
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401f6b
push ebx
mov ecx, esi
call fcn.00409ce2
cmp word [eax], 0x22
jne 0x4060fa
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.00403d93
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00403692
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.00401f6b
mov ebx, dword [ebp - 0x10]
lea edi, [ebx + 0xb4]
mov eax, dword [edi]
dec eax
push eax
mov ecx, esi
call fcn.00409ce2
cmp word [eax], 0x22
jne 0x406121
mov eax, dword [edi]
push 0
dec eax
push eax
mov ecx, esi
call fcn.00403799
cmp dword [esi + 0x18], 8
jb 0x40612c
mov esi, dword [esi + 4]
jmp 0x40612f
add esi, 4
push esi
call fcn.0040b0fd
test eax, eax
pop ecx
je 0x406151
xor eax, eax
inc eax
mov dword [ebx + 0x38], eax
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.00404b19
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x406142